Преглед изворни кода

BUG: Fix issue #8576 FindBoost regression finding static libs, impacts MinGW and Intel/Windows compilers.

Philip Lowman пре 16 година
родитељ
комит
a58e183636
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Modules/FindBoost.cmake

+ 1 - 1
Modules/FindBoost.cmake

@@ -503,7 +503,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 ( MSVC AND Boost_USE_STATIC_LIBS )
+  if ( WIN32 AND Boost_USE_STATIC_LIBS )
     SET (Boost_LIB_PREFIX "lib")
     SET (Boost_LIB_PREFIX "lib")
   endif()
   endif()