DGtal-team / DGtal

Digital Geometry Tools and Algorithm Library
https://dgtal.org
GNU Lesser General Public License v3.0
370 stars 115 forks source link

CMake: boost_program_options not found (by default) under Fedora #72

Closed mtola closed 12 years ago

mtola commented 13 years ago

CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:1128 (message): Unable to find the requested Boost libraries.

Boost version: 1.46.0

Boost include path: /usr/include

The following Boost libraries could not be found:

      boost_program_options

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost.

mtola commented 13 years ago

under Fedora 15

dcoeurjo commented 13 years ago

Is this bug still open ?

mtola commented 13 years ago

Yes I confirm.

Le 23/09/2011 14:01, David Coeurjolly a écrit :

Is this bug still open ?

dcoeurjo commented 12 years ago

Seems to be very specific to Fedora's cmake FindBoost.. Nothing to do with DGtal. The solution is thus to specify all boost variables in the cmaje (BOOST_INCLUDE ...)