[MacPorts] #32861: cgal @3.9_0 configuration for cmake is wrong
MacPorts
noreply at macports.org
Thu Jan 12 12:56:20 PST 2012
#32861: cgal @3.9_0 configuration for cmake is wrong
-----------------------------------+----------------------------------------
Reporter: josephwinston@… | Owner: vince@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: cgal
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => vince@…
* port: => cgal
Old description:
> 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")
New description:
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")
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/32861#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list