Opened 3 years ago

Last modified 3 years ago

#1103 closed defect

Target "tinyxml2" of type OBJECT_LIBRARY may not be linked into another target. — at Version 1

Reported by: strk Owned by: geos-devel@…
Priority: blocker Milestone: 3.10.0
Component: Build/Install (cmake) Version: main
Severity: Critical Keywords:
Cc:

Description (last modified by strk)

$ 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.

Change History (1)

comment:1 by strk, 3 years ago

Description: modified (diff)
Priority: majorblocker
Note: See TracTickets for help on using tickets.