Explorar el Código

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

Bill Hoffman hace 23 años
padre
commit
781fac21f0
Se han modificado 1 ficheros con 1 adiciones y 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)