cmake: make sure params defined in external modules are found

This commit is contained in:
Beat Küng
2017-02-24 15:06:38 +01:00
committed by Lorenz Meier
parent a4fc7ae95e
commit 941d17d74c
2 changed files with 5 additions and 1 deletions

View File

@@ -154,6 +154,10 @@ set(THREADS "4" CACHE STRING "number of threads to use for external build proces
set(DEBUG_PORT "/dev/ttyACM0" CACHE STRING "debugging port")
set(EXTERNAL_MODULES_LOCATION "" CACHE STRING "External modules source location")
if(NOT EXTERNAL_MODULES_LOCATION STREQUAL "")
get_filename_component(EXTERNAL_MODULES_LOCATION "${EXTERNAL_MODULES_LOCATION}" ABSOLUTE)
endif()
#=============================================================================
# configuration
#