Opened 10 months ago

Closed 7 months 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 Changed 10 months ago by xzcvczx

Component: DefaultBuild/Install (cmake)

comment:2 Changed 10 months ago by robe

Milestone: 3.7.1

comment:3 Changed 10 months ago by robe

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 Changed 10 months ago by kyngchaos

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 Changed 10 months ago by robe

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 Changed 9 months ago by pramsey

Milestone: 3.7.13.7.2

comment:7 Changed 7 months ago by Paul Ramsey <pramsey@…>

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.