Opened 12 years ago

Last modified 12 years ago

#32861 closed defect

cgal @3.9_0 configuration for cmake is wrong — at Version 1

Reported by: josephwinston (Joseph Winston) Owned by: vince@…
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")

Change History (2)

Changed 12 years ago by josephwinston (Joseph Winston)

Attachment: CGALConfig.patch added

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

Description: modified (diff)
Owner: changed from macports-tickets@… to vince@…
Port: cgal added
Note: See TracTickets for help on using tickets.