Make list of supported internal module configurable per cmake option

Resolves #1159
This commit is contained in:
Raphael Coeffic
2021-11-29 09:00:59 +10:00
committed by Peter Feerick
parent eabb20a9ad
commit b8335b994f
4 changed files with 7 additions and 5 deletions
+3 -1
View File
@@ -30,8 +30,10 @@ set_property(CACHE DEFAULT_INTERNAL_MODULE PROPERTY STRINGS ${INTERNAL_MODULES})
# define variables for internal modules
foreach(module ${INTERNAL_MODULES})
message("-- Adding support for ${module} as internal module")
set(INTERNAL_MODULE_${module} ON CACHE BOOL "Support for ${module} internal module")
if (INTERNAL_MODULE_${module})
message("-- Adding support for ${module} as internal module")
endif()
endforeach()
if(INTERNAL_MODULE_PXX1)