Try with
BOOST_INCLUDEDIR=/opt/csw/gxx/include
provided you have for example /opt/csw/gxx/include/boost/version.hpp
Sebastien
On 07/29/2018 02:47 AM, Michele Denber wrote:
> While building CGAL 4.11.2 on a Solaris 10 SPARC machine, I get from cmake:
>
> ...
> Configuring libCGAL_Core
> -- Requested component: MPFR
> -- Requested component: GMP
> CMake Error at /opt/csw/share/cmake-3.4/Modules/FindBoost.cmake:1247
> (message):
> Unable to find the requested Boost libraries.
>
> Unable to find the Boost header files. Please set BOOST_ROOT to the root
> directory containing Boost or BOOST_INCLUDEDIR to the directory
> containing
> Boost's headers.
> Call Stack (most recent call first):
> src/CGAL_Core/CMakeLists.txt:8 (find_package)
> ...
>
> However, I have already set the boost location:
>
> BOOST_INCLUDEDIR=/opt/csw/gxx/include/boost
> BOOST_ROOT=/opt/csw/gxx/lib
>
> Perhaps I am misunderstanding the message from cmake? Does it want this
> to be set inside CMakeLists.txt somehow? Any help would be
> appreciated. Merci bien.
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss