[geos-commits] r4250 - trunk

Mateusz Loskot mateusz at loskot.net
Wed Aug 24 01:58:49 PDT 2016


Author: mloskot
Date: 2016-08-24 01:58:49 -0700 (Wed, 24 Aug 2016)
New Revision: 4250

Modified:
   trunk/CMakeLists.txt
Log:
Add CMake ${PROJECT_BINARY_DIR} to include directories for
geos_ts.cpp which does #include "../geos_svn_revision.h", whereas
CMake generates geos_svn_revision.h in build directory, to not to
pollute source tree. 


Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt	2016-08-24 08:57:47 UTC (rev 4249)
+++ trunk/CMakeLists.txt	2016-08-24 08:58:49 UTC (rev 4250)
@@ -233,6 +233,11 @@
 # for including build-specific version.h, platform.h and geos_c.h
 include_directories(${PROJECT_BINARY_DIR}/include)
 
+# for geos_ts.cpp which does #include "../geos_svn_revision.h" whereas
+# CMake generates geos_svn_revision.h in build directory,
+# to not to pollute source tree. 
+include_directories(${PROJECT_BINARY_DIR})
+
 #################################################################################
 # Setup checks and generate config headers
 #################################################################################



More information about the geos-commits mailing list