This is on Windows XP:

I installed Boost 1.38.0 from the BoostConsulting binary installer (it lives
in C:\Program Files\Boost\boost_1_38).  I also installed CMake 4.6-patch4
from its installer. When I run CMake on a CMakeLists.txt containing:

set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_MULTITHREADED ON)

find_package(Boost 1.36.0 REQUIRED COMPONENTS program_options)

CMake complains that it can't find the Boost library files.

I turned Boost_DEBUG on and it turns out _boost_STATIC_TAG is set to "-s",
which is wrong for my Boost installation (the static libraries are named
libboost_<component name>-<compiler suffix>-<thread suffix>-<abi
suffix>-1_38.lib in my installation).  Is this a bug in FindBoost.cmake, or
am I doing something wrong?

--Lucas
_______________________________________________
Boost-cmake mailing list
Boost-cmake@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-cmake

Reply via email to