Opened 5 years ago

Closed 5 years ago

#936 closed defect (fixed)

fail with cmake -DGEOS_ENABLE_MACOSX_FRAMEWORK=ON

Reported by: xzcvczx Owned by: geos-devel@…
Priority: minor Milestone: 3.7.2
Component: Build/Install (cmake) Version: 3.7.0
Severity: Unassigned Keywords:
Cc:

Description

if you run cmake with that option enabled there is the following error

CMake Error at capi/CMakeLists.txt:45 (add_dependencies):
  Cannot add target-level dependencies to non-existent target "geos_c".

  The add_dependencies works for top-level logical targets created by the
  add_executable, add_library, or add_custom_target commands.  If you want to
  add file-level dependencies see the DEPENDS option of the add_custom_target
  and add_custom_command commands.

Change History (7)

comment:1 by xzcvczx, 5 years ago

Component: DefaultBuild/Install (cmake)

comment:2 by robe, 5 years ago

Milestone: 3.7.1

comment:3 by robe, 5 years ago

Related pull request - https://git.osgeo.org/gitea/geos/geos/pulls/57

Will close once we backport to 3.7.1. Already committed to 3.8.0 (master)

comment:4 by kyngchaos, 5 years ago

Just to clarify, this is for 3.7.0, not 3.6.x. It works for me in 3.6.3, but I get the error in 3.7.0. Ticket system does not have 3.7.0 yet.

comment:5 by robe, 5 years ago

Version: 3.6.23.7.0

oh good grief, what annoying redundancy we have here - a lookup for Milestones and one for Versions. It should be just pulling the closed milestones for Versions.

Anyway I've added 3.7.0 to version list until I sort this mess out.

comment:6 by pramsey, 5 years ago

Milestone: 3.7.13.7.2

comment:7 by Paul Ramsey <pramsey@…>, 5 years ago

Resolution: fixed
Status: newclosed

In 1c72b2e/git:

fail with cmake -DGEOS_ENABLE_MACOSX_FRAMEWORK=NO
Closes #936

Note: See TracTickets for help on using tickets.