From 7e6dadfea68836cc92aaa7e1bb770be620225aa2 Mon Sep 17 00:00:00 2001 From: Nayd Date: Fri, 14 Nov 2014 00:48:38 +0000 Subject: CMake/FindBoost: Fix policy CMP0054 warning (added in 3.1) --- cmake/macros/FindBoost.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/macros/FindBoost.cmake b/cmake/macros/FindBoost.cmake index ebd1c29598a..d90a9c12c16 100644 --- a/cmake/macros/FindBoost.cmake +++ b/cmake/macros/FindBoost.cmake @@ -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() -- cgit v1.2.3