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