fix: config.cmake not work.

This commit is contained in:
ayase
2018-07-29 00:27:38 +08:00
committed by GitHub
parent c6be57c232
commit 69e663510e

View File

@@ -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()