We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3baac9d commit e369adcCopy full SHA for e369adc
cmake/dependencies.cmake
@@ -146,9 +146,10 @@ get_directory_property(KNOWN_SUBDIRECTORIES SUBDIRECTORIES)
146
foreach(dir ${KNOWN_SUBDIRECTORIES})
147
if (IS_DIRECTORY ${dir})
148
foreach(dep ${DECLARED_DEPENDENCIES})
149
- if (DEFINED ${dep}_SOURCE_DIR)
+ string(TOLOWER ${dep} ldep)
150
+ if (DEFINED ${ldep}_SOURCE_DIR)
151
#check if the subdirectory is "under" the dependency source dir
- string(FIND ${dir} ${${dep}_SOURCE_DIR} match_pos)
152
+ string(FIND ${dir} ${${ldep}_SOURCE_DIR} match_pos)
153
if (match_pos EQUAL 0)
154
#and, if so, exclude it from all to prevent installation
155
set_property(DIRECTORY ${dir} PROPERTY EXCLUDE_FROM_ALL YES)
0 commit comments