Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
f1793985
Commit
f1793985
authored
Sep 18, 2019
by
Lennart Huth
Browse files
Added additional hint to find root macros file
parent
8ac580d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/objects/CMakeLists.txt
View file @
f1793985
...
...
@@ -5,7 +5,7 @@ INCLUDE_DIRECTORIES(SYSTEM ${CORRYVRECKAN_DEPS_INCLUDE_DIRS})
GET_FILENAME_COMPONENT
(
ROOT_CMAKE_DIR
"
${
ROOT_USE_FILE
}
"
DIRECTORY
)
FIND_FILE
(
ROOT_MACROS_FILE
NAMES RootNewMacros.cmake
HINTS
${
ROOT_CMAKE_DIR
}
/modules/ $ENV{ROOTSYS}/cmake/modules
)
HINTS
${
ROOT_CMAKE_DIR
}
/modules/
$ENV{ROOTSYS}/../cmake/modules
$ENV{ROOTSYS}/cmake/modules
)
IF
(
NOT ROOT_MACROS_FILE
)
MESSAGE
(
WARNING
"Cannot find ROOT macros, including generic file as fallback."
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment