From 69e663510e2b21769afbcdec046e645b4d713549 Mon Sep 17 00:00:00 2001 From: ayase <137056643@qq.com> Date: Sun, 29 Jul 2018 00:27:38 +0800 Subject: [PATCH] fix: config.cmake not work. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 35385f227..eee5bb371 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()