summaryrefslogtreecommitdiffstats
path: root/Modules/FindBoost.cmake
diff options
context:
space:
mode:
authorPhilip Lowman <philip@yhbt.com>2010-08-11 02:05:17 (GMT)
committerPhilip Lowman <philip@yhbt.com>2010-08-11 02:05:17 (GMT)
commit8de0d1a8cae50df3c5a5c12177d2d8f5999cd9f0 (patch)
treed5d33dc9d65b20eb0817ddcf340a65347a6265b5 /Modules/FindBoost.cmake
parent74805b28c1f55a16310efe43465eb76c4e75f46a (diff)
downloadCMake-8de0d1a8cae50df3c5a5c12177d2d8f5999cd9f0.zip
CMake-8de0d1a8cae50df3c5a5c12177d2d8f5999cd9f0.tar.gz
CMake-8de0d1a8cae50df3c5a5c12177d2d8f5999cd9f0.tar.bz2
Fixes problem finding libraries under Boost (#9510)
Diffstat (limited to 'Modules/FindBoost.cmake')
-rw-r--r--Modules/FindBoost.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index 86fc272..1a1b168 100644
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -556,7 +556,7 @@ ELSE (_boost_IN_CACHE)
# Setting some more suffixes for the library
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")
endif()