[geos-devel] [GEOS] #1103: Target "tinyxml2" of type OBJECT_LIBRARY may not be linked into another target.
GEOS
geos-trac at osgeo.org
Tue Mar 2 02:13:09 PST 2021
#1103: Target "tinyxml2" of type OBJECT_LIBRARY may not be linked into another
target.
-----------------------------------+--------------------------
Reporter: strk | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone: 3.9.2
Component: Build/Install (cmake) | Version: master
Severity: Critical | Keywords:
-----------------------------------+--------------------------
$ git describe --tags
3.9.0beta2-239-g89886fb23
$ cmake --version
cmake version 3.10.2
$ cmake .. 2>&1 | grep -A4 Error
CMake Error at tests/xmltester/CMakeLists.txt:30 (target_link_libraries):
Target "tinyxml2" of type OBJECT_LIBRARY may not be linked into another
target. One may link only to STATIC or SHARED libraries, or to
executables
with the ENABLE_EXPORTS property set.
Marking it as having Severity = Critical because it worked just fine with
autotools but autotools have been removed from master branch, so I
basically cannot build anymore until this is fixed.
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/1103>
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