fix(CMake/Module): module related cmake error (#14569)
This commit is contained in:
parent
9b59f35cb8
commit
4f395d12bb
@ -71,7 +71,7 @@ FOREACH(subdir ${sub_DIRS})
|
||||
continue()
|
||||
endif()
|
||||
|
||||
STRING(REGEX REPLACE "^${CMAKE_SOURCE_DIR}/" "" subdir_rel ${subdir})
|
||||
STRING(REPLACE "${CMAKE_SOURCE_DIR}/" "" subdir_rel ${subdir})
|
||||
if(EXISTS "${subdir}/CMakeLists.txt")
|
||||
add_subdirectory("${subdir_rel}")
|
||||
endif()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user