Merge topic 'FindBoost_cygwin_fix'

8de0d1a Fixes problem finding libraries under Boost (#9510)
This commit is contained in:
Brad King 2010-08-17 15:09:45 -04:00 committed by CMake Topic Stage
commit 4d8f0c2974
1 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,7 @@ ELSE (_boost_IN_CACHE)
# Setting some more suffixes for the library # Setting some more suffixes for the library
SET (Boost_LIB_PREFIX "") SET (Boost_LIB_PREFIX "")
if ( WIN32 AND Boost_USE_STATIC_LIBS ) if ( WIN32 AND Boost_USE_STATIC_LIBS AND NOT CYGWIN)
SET (Boost_LIB_PREFIX "lib") SET (Boost_LIB_PREFIX "lib")
endif() endif()