mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(CMake/Module): module related cmake error (#14569)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user