mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
Cmake: Custom cmake options now read (#989)
fix: config.cmake not work. "EXISTS" cannot use relative paths.
This commit is contained in:
@@ -42,7 +42,7 @@ include(src/cmake/ac_macros.cmake)
|
||||
include(conf/config.cmake.dist)
|
||||
|
||||
# load custom configurations for cmake if exists
|
||||
if(EXISTS "conf/config.cmake")
|
||||
if(EXISTS "${CMAKE_SOURCE_DIR}/conf/config.cmake")
|
||||
include(conf/config.cmake)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user