fix: config.cmake not work.
This commit is contained in:
parent
c6be57c232
commit
69e663510e
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue