#949 closed defect (fixed)
static link of geos_unit test app fails under CMake
Reported by: | darkblueb | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 3.8.0 |
Component: | Build/Install (cmake) | Version: | main |
Severity: | Unassigned | Keywords: | test |
Cc: |
Description
using CMake build, in master branch (3.8x), set the flag GEOS_BUILD_SHARED to OFF
build; notice that geos_unit
fails to link
It would be useful to have a large test app that links statically, for some kinds of analysis.
Change History (3)
comment:1 by , 5 years ago
comment:3 by , 5 years ago
master build, CMake 3.15, GEOS_BUILD_SHARED=OFF
bin/ perf_memleak_mp_prep test_big_sweep_line_speed perf_geospreparedcontains perf_intersection perf_interiorpoint_area perf_rectangle_intersects perf_voronoi example astyle test_geos_unit test_simplewkttester test_xmltester
Note:
See TracTickets
for help on using tickets.
Works for me in current configuration using
cmake -DBUILD_SHARED_LIBS=NO
.Is it still a issue for you?