Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#949 closed defect (fixed)

static link of geos_unit test app fails under CMake

Reported by: darkblueb Owned by: geos-devel@…
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 dbaston, 5 years ago

Works for me in current configuration using cmake -DBUILD_SHARED_LIBS=NO.

Is it still a issue for you?

comment:2 by pramsey, 5 years ago

Resolution: fixed
Status: newclosed

Works for me on master.

comment:3 by darkblueb, 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.