Re: [CMake] FindBoost.cmake oddities

2008-12-11 Thread Andreas Pakulat
On 11.12.08 13:42:38, Mike Jackson wrote: > > > Andreas Pakulat wrote: >> On 11.12.08 11:38:38, Mike Jackson wrote: >>> Up a bit further I see the culprit: >>> >>> IF ( WIN32 AND Boost_USE_STATIC_LIBS ) >>> SET (Boost_LIB_PREFIX "lib") >>> ENDIF ( WIN32 AND Boost_USE_STATIC_LIBS ) >>> >>> S

Re: [CMake] FindBoost.cmake oddities

2008-12-11 Thread Mike Jackson
Andreas Pakulat wrote: On 11.12.08 11:38:38, Mike Jackson wrote: Up a bit further I see the culprit: IF ( WIN32 AND Boost_USE_STATIC_LIBS ) SET (Boost_LIB_PREFIX "lib") ENDIF ( WIN32 AND Boost_USE_STATIC_LIBS ) So I guess I need some logic in my own cmake files that says if Boost w

Re: [CMake] FindBoost.cmake oddities

2008-12-11 Thread Pau Garcia i Quiles
On Thu, Dec 11, 2008 at 7:12 PM, Andreas Pakulat wrote: > On 11.12.08 11:38:38, Mike Jackson wrote: >> Up a bit further I see the culprit: >> >> IF ( WIN32 AND Boost_USE_STATIC_LIBS ) >> SET (Boost_LIB_PREFIX "lib") >> ENDIF ( WIN32 AND Boost_USE_STATIC_LIBS ) >> >> So I guess I need some

Re: [CMake] FindBoost.cmake oddities

2008-12-11 Thread Andreas Pakulat
On 11.12.08 11:38:38, Mike Jackson wrote: > Up a bit further I see the culprit: > > IF ( WIN32 AND Boost_USE_STATIC_LIBS ) > SET (Boost_LIB_PREFIX "lib") > ENDIF ( WIN32 AND Boost_USE_STATIC_LIBS ) > > So I guess I need some logic in my own cmake files that says if Boost > was NOT found,

Re: [CMake] FindBoost.cmake oddities

2008-12-11 Thread Mike Jackson
Up a bit further I see the culprit: IF ( WIN32 AND Boost_USE_STATIC_LIBS ) SET (Boost_LIB_PREFIX "lib") ENDIF ( WIN32 AND Boost_USE_STATIC_LIBS ) So I guess I need some logic in my own cmake files that says if Boost was NOT found, set Boost_USE_STATIC_LIBS to TRUE and try again, only if

[CMake] FindBoost.cmake oddities

2008-12-11 Thread Mike Jackson
System: WinXP/ VS 2008 Express / CMake 2.6.2 / Boost 1.36.0 from BoostPro Not sure what the intended behavior is here BUT I have ONLY installed static libraries on WinXP for Boost. When I run CMake using the following to find boost: SET (Boost_FIND_REQUIRED TRUE) SET (Boost_FIND_QUIETLY FALSE