Yes it works! Sorry for the poor information provided.
Boost_USE_STATIC_LIBS solves the problem.

Thank you very much for your time!
Mario

2011/12/13 Mateusz Łoskot <mate...@loskot.net>

> 2011/12/13 Mario Pezzoni <pezzoni.ma...@gmail.com>:
> > I read this one before but, it is related with dynamic linking, i need
> > static linking.
> > This solution do not works with static linking.
>
> You don't mention in your post how you link.
> Also, your CMakeLists.txt suggests you link default means dynamically
> on Windows.
>
> Try adding Boost_USE_STATIC_LIBS (learn about it from FindBoost.cmake file
> in your CMake installed modules).
>
> Best regards,
> --
> Mateusz Loskot, http://mateusz.loskot.net
> Charter Member of OSGeo, http://osgeo.org
> Member of ACCU, http://accu.org
>
--

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