[geos-commits] r4095 - trunk

svn_geos at osgeo.org svn_geos at osgeo.org
Sat Oct 3 13:29:15 PDT 2015


Author: mloskot
Date: 2015-10-03 13:29:15 -0700 (Sat, 03 Oct 2015)
New Revision: 4095

Modified:
   trunk/CMakeLists.txt
Log:
Tell CMake to use GEOS instead geos.

Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt	2015-10-03 20:23:13 UTC (rev 4094)
+++ trunk/CMakeLists.txt	2015-10-03 20:29:15 UTC (rev 4095)
@@ -10,7 +10,7 @@
 # See the COPYING file for more information.
 #
 #################################################################################
-project(geos)
+project(GEOS)
 cmake_minimum_required(VERSION 2.6)
 
 if(NOT CMAKE_VERSION)
@@ -19,7 +19,7 @@
 endif()
 
 # Location of custom CMake modules with macros used by GEOS
-set(CMAKE_MODULE_PATH "${geos_SOURCE_DIR}/cmake/modules")
+set(CMAKE_MODULE_PATH "${GEOS_SOURCE_DIR}/cmake/modules")
 
 #################################################################################
 # Setup GEOS version
@@ -225,10 +225,10 @@
 #################################################################################
 
 # for including GEOS C++ API headers
-include_directories(${geos_SOURCE_DIR}/include)
+include_directories(${GEOS_SOURCE_DIR}/include)
 
 # for including build-specific GEOS C API headers
-include_directories(${geos_BINARY_DIR}/capi)
+include_directories(${GEOS_BINARY_DIR}/capi)
 
 # for including build-specific version.h, platform.h and geos_c.h
 include_directories(${geos_BINARY_DIR}/include)



More information about the geos-commits mailing list