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
86937fab
Commit
86937fab
authored
Jan 25, 2019
by
Lennart Huth
Browse files
removed previous changes
parent
0e407915
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/objects/CMakeLists.txt
View file @
86937fab
...
...
@@ -2,12 +2,10 @@
INCLUDE_DIRECTORIES
(
SYSTEM
${
CORRYVRECKAN_DEPS_INCLUDE_DIRS
}
)
# Find the RootNewMacros.cmake file and include it
#
GET_FILENAME_COMPONENT(ROOT_CMAKE_DIR ${ROOT_USE_FILE} DIRECTORY)
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
$ENV{ROOTSYS}/cmake/modules
)
HINTS
${
ROOT_CMAKE_DIR
}
/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