Skip to content
Snippets Groups Projects
Commit 330a82e3 authored by Guilherme Amadio's avatar Guilherme Amadio
Browse files

root_generate_dictionary: do not search for headers with find_file()

This leads to errors due to absolute paths if ROOT is already
installed in the configured prefix (e.g. /usr/local):

CMake Error at cmake/modules/RootNewMacros.cmake:288 (message):
  Header path
  '/usr/local/include/ROOT/RVirtualCanvasPainter.hxx'
   /usr/local/include/ROOT/RVirtualCanvasPainter.hxx
  is not relative!
Call Stack (most recent call first):
  cmake/modules/RootNewMacros.cmake:968 (ROOT_GENERATE_DICTIONARY)
  graf2d/gpadv7/CMakeLists.txt:6 (ROOT_STANDARD_LIBRARY_PACKAGE)

However, we only want this behavior for ROOT itself and not dependent
projects, which still use globbing in their build systems.
parent 52392946
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment