mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
CMake/FindBoost: Fix policy CMP0054 warning (added in 3.1)
This commit is contained in:
@@ -341,9 +341,9 @@ endfunction()
|
||||
# Guesses Boost's compiler prefix used in built library names
|
||||
# Returns the guess by setting the variable pointed to by _ret
|
||||
function(_Boost_GUESS_COMPILER_PREFIX _ret)
|
||||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel"
|
||||
OR "${CMAKE_CXX_COMPILER}" MATCHES "icl"
|
||||
OR "${CMAKE_CXX_COMPILER}" MATCHES "icpc")
|
||||
if(${CMAKE_CXX_COMPILER_ID} STREQUAL "Intel"
|
||||
OR ${CMAKE_CXX_COMPILER} MATCHES "icl"
|
||||
OR ${CMAKE_CXX_COMPILER} MATCHES "icpc")
|
||||
if(WIN32)
|
||||
set (_boost_COMPILER "-iw")
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user