summaryrefslogtreecommitdiffstats
path: root/Modules/FindBoost.cmake
diff options
context:
space:
mode:
authorPhilip Lowman <philip@yhbt.com>2009-02-24 05:49:01 (GMT)
committerPhilip Lowman <philip@yhbt.com>2009-02-24 05:49:01 (GMT)
commita58e1836360758f75fe16dc85c659c69a9d50cdf (patch)
tree44ff457a16d2fd2aba701679f541814e32a2d296 /Modules/FindBoost.cmake
parent0458da3ba9ab762d08bbfd94c4cb9f387a1dd2d4 (diff)
downloadCMake-a58e1836360758f75fe16dc85c659c69a9d50cdf.zip
CMake-a58e1836360758f75fe16dc85c659c69a9d50cdf.tar.gz
CMake-a58e1836360758f75fe16dc85c659c69a9d50cdf.tar.bz2
BUG: Fix issue #8576 FindBoost regression finding static libs, impacts MinGW and Intel/Windows compilers.
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 518f8a8..138d1d4 100644
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -503,7 +503,7 @@ ELSE (_boost_IN_CACHE)
# Setting some more suffixes for the library
SET (Boost_LIB_PREFIX "")
- if ( MSVC AND Boost_USE_STATIC_LIBS )
+ if ( WIN32 AND Boost_USE_STATIC_LIBS )
SET (Boost_LIB_PREFIX "lib")
endif()