Code

Remove binary dir from Include path and replace with the source root and src/
authoracspike <acspike@users.sourceforge.net>
Mon, 7 Apr 2008 02:55:07 +0000 (02:55 +0000)
committeracspike <acspike@users.sourceforge.net>
Mon, 7 Apr 2008 02:55:07 +0000 (02:55 +0000)
CMakeLists.txt

index ba269df38b4dccf31ac05e0293c71b1eb61fa3ea..02a25749116a34824de38c278c6ffaae457a5489 100644 (file)
@@ -31,7 +31,7 @@ INCLUDE(ConfigCompileFlags)
 INCLUDE(ConfigInkscapeDepends)\r
 
 SET(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS}")\r
-INCLUDE_DIRECTORIES (src/ ${CMAKE_CURRENT_BINARY_DIR} )\r
+INCLUDE_DIRECTORIES ("${PROJECT_SOURCE_DIR}" src/)\r
 LINK_DIRECTORIES (src/)\r
 \r
 #SET(CMAKE_MAJOR_MINOR "${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}")\r