Commit f6631892 authored by Max Lyon's avatar Max Lyon

search for more cmake macro directories in Package-* folders and add them to...

search for more cmake macro directories in Package-* folders and add them to global cmake_module_path
parent 9c99c3b4
......@@ -18,6 +18,13 @@ project (OpenFlipper)
# add our macro directory to cmake search path
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
# search for more macro directories in Package-* folders
file (
GLOB _more_macro_directories
"${CMAKE_SOURCE_DIR}/Package-*/cmake"
)
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${_more_macro_directories})
# include our cmake files
include (ACGCommon)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment