From 348c231e12d87c106bd1ab3c9d7a5ecdab6863d8 Mon Sep 17 00:00:00 2001 From: Charles Pigott Date: Fri, 25 Sep 2020 12:55:25 +0100 Subject: Codechange: Make codestyle for CMake files consistent for 'control' statements --- cmake/FindSSE.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmake/FindSSE.cmake') diff --git a/cmake/FindSSE.cmake b/cmake/FindSSE.cmake index d0a57ccbb..e8dc243d9 100644 --- a/cmake/FindSSE.cmake +++ b/cmake/FindSSE.cmake @@ -4,9 +4,9 @@ include(CheckCXXSourceCompiles) set(CMAKE_REQUIRED_FLAGS "") -if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") +if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") set(CMAKE_REQUIRED_FLAGS "-msse4.1") -endif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") +endif() check_cxx_source_compiles(" #include -- cgit v1.2.3-70-g09d2