Commit 4ef2c710 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'package_macro_paths' into 'master'

cmake macro directories in Package-* folders

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

See merge request !20
parents 9c99c3b4 f6631892
......@@ -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