Explorar o código

BUG: cmake needs it's own directory for includes, so depends work

Bill Hoffman %!s(int64=23) %!d(string=hai) anos
pai
achega
781fac21f0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Source/CMakeLists.txt

+ 1 - 0
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)