Codechange: Make codestyle for CMake files consistent for 'control' statements

This commit is contained in:
Charles Pigott
2020-09-25 12:55:25 +01:00
parent df5362a008
commit 348c231e12
36 changed files with 565 additions and 565 deletions

View File

@@ -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 <xmmintrin.h>