Allow to extra modules by relative path (#13199)
This commit is contained in:
parent
2bc32a172b
commit
d82cdc39e4
@ -97,6 +97,7 @@ function(register_extra_modules)
|
||||
# detect where IE_EXTRA_MODULES contains folders with CMakeLists.txt
|
||||
# other folders are supposed to have sub-folders with CMakeLists.txt
|
||||
foreach(module_path IN LISTS IE_EXTRA_MODULES)
|
||||
get_filename_component(module_path "${module_path}" ABSOLUTE)
|
||||
if(EXISTS "${module_path}/CMakeLists.txt")
|
||||
list(APPEND extra_modules "${module_path}")
|
||||
elseif(module_path)
|
||||
|
Loading…
Reference in New Issue
Block a user