diff options
author | Matt Powley <matt.powley@renishaw.com> | 2018-06-26 12:16:03 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-06-27 14:55:49 -0400 |
commit | df2875b58d3eaa75275842f6574dd7a5bc11e650 (patch) | |
tree | 16fa389d5127c6140c7b062f842467d1d88e9b7c /Modules | |
parent | 07cfb18f9d29cfc0588ede928846a03ec5599c48 (diff) | |
download | cmake-df2875b58d3eaa75275842f6574dd7a5bc11e650.tar.gz |
FindBoost: Update MSVC architecture check code style
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindBoost.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake index 08d9762ddd..1bdf5cc533 100644 --- a/Modules/FindBoost.cmake +++ b/Modules/FindBoost.cmake @@ -1461,14 +1461,14 @@ if(NOT "x${CMAKE_CXX_COMPILER_ARCHITECTURE_ID}" STREQUAL "x" AND NOT Boost_VERSI string(APPEND _boost_ARCHITECTURE_TAG "-") # This needs to be kept in-sync with the section of CMakePlatformId.h.in # inside 'defined(_WIN32) && defined(_MSC_VER)' - if(${CMAKE_CXX_COMPILER_ARCHITECTURE_ID} STREQUAL "IA64") + if(CMAKE_CXX_COMPILER_ARCHITECTURE_ID STREQUAL "IA64") string(APPEND _boost_ARCHITECTURE_TAG "i") - elseif(${CMAKE_CXX_COMPILER_ARCHITECTURE_ID} STREQUAL "X86" - OR ${CMAKE_CXX_COMPILER_ARCHITECTURE_ID} STREQUAL "x64") + elseif(CMAKE_CXX_COMPILER_ARCHITECTURE_ID STREQUAL "X86" + OR CMAKE_CXX_COMPILER_ARCHITECTURE_ID STREQUAL "x64") string(APPEND _boost_ARCHITECTURE_TAG "x") - elseif(${CMAKE_CXX_COMPILER_ARCHITECTURE_ID} MATCHES "^ARM") + elseif(CMAKE_CXX_COMPILER_ARCHITECTURE_ID MATCHES "^ARM") string(APPEND _boost_ARCHITECTURE_TAG "a") - elseif(${CMAKE_CXX_COMPILER_ARCHITECTURE_ID} STREQUAL "MIPS") + elseif(CMAKE_CXX_COMPILER_ARCHITECTURE_ID STREQUAL "MIPS") string(APPEND _boost_ARCHITECTURE_TAG "m") endif() |