Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Building with a non-standard boost installation
- Date: Mon, 26 Oct 2009 14:33:57 +0200
- Organization: GeometryFactory
On Monday 26 October 2009 12:33:04 Austin Bingham wrote:
> Hi all,
>
> I've been trying to build CGAL-3.5(linux 2.6.18, cmake 2.6) against a
> non-standard installation of boost-1.37, and I haven't been able to get
> the build system to use the proper boost libraries. My cmake invocation
> looks like this (paths modified for brevity):
>
> cmake -DBoost_INCLUDE_DIR=/boost/include \
> -DBoost_thread_LIBRARY_RELEASE=/boost/lib/libboost_thread_gcc41-mt.so \
> -DBoost_thread_LIBRARY_DEBUG=/boost/lib/libboost_thread_gcc41-mt-yd.so \
> .
The correct syntax of the -D option is: -D<var>:<type>=<value>. So:
cmake -DBoost_INCLUDE_DIR:PATH=/boost/include \
-DBoost_thread_LIBRARY_RELEASE:FILEPATH=/boost/lib/libboost_thread_gcc41-
mt.so \
-DBoost_thread_LIBRARY_DEBUG=:FILEPATH/boost/lib/libboost_thread_gcc41-mt-
yd.so \
.
Older versions of CMake were permissive about that syntax, but I think that
is
important with recent versions of CMake.
I do not remember well those details, because I now always use the graphical
cmake-gui, as much as possible.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] Building with a non-standard boost installation, Austin Bingham, 10/26/2009
- Re: [cgal-discuss] Building with a non-standard boost installation, Laurent Rineau (GeometryFactory), 10/26/2009
Archive powered by MHonArc 2.6.16.