Pārlūkot izejas kodu

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

Bill Hoffman 23 gadi atpakaļ
vecāks
revīzija
781fac21f0
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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)