mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
BUG: Fix issue #8576 FindBoost regression finding static libs, impacts MinGW and Intel/Windows compilers.
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user