On Thu, Nov 12, 2009 at 5:55 AM, Hendrik Sattler <p...@hendrik-sattler.de>wrote:

> Zitat von Martin Peter Christiansen <martin.p.christian...@gmail.com>:
>
>  In "C:\local\boost\lib" I have
>> - libboost_thread-vc90-mt.lib
>> - libboost_thread-vc90-mt-gd-1_39.lib
>> - libboost_thread-vc90-mt-gd.lib
>>
>
> MSVC libs usually do not have the lib... prefix. I am not sure if CMake
> does find them in this case.
>
>
The static MSVC libraries always have the lib prefix on Windows, the dynamic
MSVC libraries do not.

You have to set this variable to enable searching for static libraries.

set(Boost_USE_STATIC_LIBS    ON)

-- 
Philip Lowman
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to