Browse Source

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

Bill Hoffman 23 years ago
parent
commit
781fac21f0
1 changed files with 1 additions and 0 deletions
  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)