mirror of
https://github.com/reactos/CMake.git
synced 2024-11-27 05:20:34 +00:00
Merge topic 'FindBoost-lib-prefix-clarify'
040f503d83
FindBoost: Clarify logic selecting Boost_LIB_PREFIX
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4537
This commit is contained in:
commit
e20146b429
@ -1646,10 +1646,15 @@ endif()
|
||||
# Prefix initialization
|
||||
# ------------------------------------------------------------------------
|
||||
|
||||
set(Boost_LIB_PREFIX "")
|
||||
if ( (GHSMULTI AND Boost_USE_STATIC_LIBS) OR
|
||||
(WIN32 AND Boost_USE_STATIC_LIBS AND NOT CYGWIN) )
|
||||
# Boost's static libraries use a "lib" prefix on DLL platforms
|
||||
# to distinguish them from the DLL import libraries.
|
||||
if (Boost_USE_STATIC_LIBS AND (
|
||||
(WIN32 AND NOT CYGWIN)
|
||||
OR GHSMULTI
|
||||
))
|
||||
set(Boost_LIB_PREFIX "lib")
|
||||
else()
|
||||
set(Boost_LIB_PREFIX "")
|
||||
endif()
|
||||
|
||||
if ( NOT Boost_NAMESPACE )
|
||||
|
Loading…
Reference in New Issue
Block a user