Michael Jackson <mike.jack...@bluequartz.net> writes:

> On 12/16/09 1:41 PM, in article
> 2a66cbe0-57c7-45d4-8d44-cddc6b935...@bluequartz.net, "Michael Jackson"
> wrote:
>
>> Trying things out on windows and I noticed that when I build static
>> libraries that the names of the libraries are NOT prefixed with "lib"
>> like in the bjam version of the build. This causes the FindBoost
>> included with CMake 2.6.4 and 2.8.0 to NOT find an installed boost on
>> Windows using Visual Studio.
>> 
>>     Where would this sort of thing be set in the CMake files?
>> 
>> _________________________________________________________
>> Mike Jackson     
>
> On line 705 of BoostCore.cmake is the line that sets the library prefix
> using the LIBPREFIX variable. From what I can tell this cmake variable is
> Not set anywhere else in the build system (at least that I can find). Adding
> a Cmake cache entry for LIBPREFIX:STRING=lib on windows for static builds
> allowed the proper naming. Not sure if this is by design or got left out by
> accident.
>
>  Maybe we need a "bjam" compatible mode to set all these types of things for
> the next few releases of boost and Cmake. At least until Cmake as it is
> distributed can handle the new paths in the boost installation.
>

I'm almost certain this is simple oversight.  I'm reliant on windows
guys for testing.  You may just be the first to look carefully at this.

-t

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

Reply via email to