[geos-devel] [GEOS] #1006: CMake build without tests regression

GEOS geos-trac at osgeo.org
Fri Nov 29 23:49:06 PST 2019


#1006: CMake build without tests regression
-----------------------------------+--------------------------
 Reporter:  Mike Taves             |      Owner:  geos-devel@…
     Type:  defect                 |     Status:  new
 Priority:  major                  |  Milestone:
Component:  Build/Install (cmake)  |    Version:  master
 Severity:  Unassigned             |   Keywords:
-----------------------------------+--------------------------
 Prior to GEOS 3.8.0, building tests could be disabled using:
 {{{
 cmake -DCMAKE_BUILD_TYPE=Release -DGEOS_ENABLE_TESTS=OFF ..
 }}}
 With the modern CMake setup for GEOS 3.8.0 (nice work, btw!) this should
 be done using:
 {{{
 cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF ..
 }}}
 however:
 {{{
 CMake Error at doc/CMakeLists.txt:16 (target_include_directories):
   Cannot specify include directories for target "test_geos_unit" which is
 not
   built by this project.
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/geos/ticket/1006>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list