diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 815f99403..2720c9aad 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -40,6 +40,7 @@ ${CMake_BINARY_DIR}/Source/cmConfigure.h ) # add the include path to find the .h INCLUDE_DIRECTORIES(${CMake_BINARY_DIR}/Source) +INCLUDE_DIRECTORIES(${CMake_SOURCE_DIR}/Source) # let cmake know it is supposed to use it ADD_DEFINITIONS(-DCMAKE_BUILD_WITH_CMAKE)