Opened 13 years ago

Closed 13 years ago

#32861 closed defect (fixed)

cgal @3.9_0 configuration for cmake is wrong

Reported by: josephwinston (Joseph Winston) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: cgal

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When installing in the normal places, the following is found in /opt/local/lib/cmake/CGALConfig.cmak

set(CGAL_MODULES_DIR   "/opt/local//opt/local/lib/cmake" )

Simple patch:

*** /opt/local/lib/cmake/CGALConfig.cmake	2012-01-12 08:15:09.000000000 -0600
--- /opt/local/lib/cmake/CGALConfig.cmake~	2012-01-12 08:12:02.000000000 -0600
***************
*** 29,35 ****
  set(CGAL_BUILD_TYPE_INIT                  "Release" )
  
  set(CGAL_INCLUDE_DIRS  "/opt/local/include" )
! set(CGAL_MODULES_DIR   "/opt/local/lib/cmake" )
  set(CGAL_LIBRARIES_DIR "/opt/local/lib" )
  
  set(WITH_CGAL         "ON")
--- 29,35 ----
  set(CGAL_BUILD_TYPE_INIT                  "Release" )
  
  set(CGAL_INCLUDE_DIRS  "/opt/local/include" )
! set(CGAL_MODULES_DIR   "/opt/local//opt/local/lib/cmake" )
  set(CGAL_LIBRARIES_DIR "/opt/local/lib" )
  
  set(WITH_CGAL         "ON")

Attachments (1)

CGALConfig.patch (682 bytes) - added by josephwinston (Joseph Winston) 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by josephwinston (Joseph Winston)

Attachment: CGALConfig.patch added

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to vince@…
Port: cgal added

comment:2 Changed 13 years ago by Veence (Vincent)

Resolution: fixed
Status: newclosed

Fixed by updating to 4.0 in #33649

Note: See TracTickets for help on using tickets.