[CMake] How to get current visualstudio version?
Xi Shen
davidshen84 at gmail.com
Mon Dec 28 23:12:30 EST 2015
awesome! thanks~
On Mon, Dec 28, 2015 at 7:07 PM Nils Gladitz <nilsgladitz at gmail.com> wrote:
> On 28.12.2015 06:50, Xi Shen wrote:
> > Strange, the FindBoost module expects boost libraries start with
> > "boost_" by default. But the libraries I got from the default build
> > configuration start with "libboost_". No wonder it did not work the
> > first I tried.
>
> This somewhat depends on platform but as far as I remember e.g. on
> Windows the Boost static libraries begin with "lib".
> While the import libraries for the DLL version of the library do not.
>
> To locate the static libraries you would e.g. set(Boost_USE_STATIC_LIBS
> ON) before calling find_package() for Boost.
>
> Nils
>
--
Regards,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20151229/d17a7141/attachment.html>
More information about the CMake
mailing list