diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-07-23 10:52:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-23 10:52:47 -0700 |
commit | 2117be46a8c4b4785f0411f055d81f04312955e6 (patch) | |
tree | f9625bbba76bd852372159cdbcd02257b9f0e258 | |
parent | 2dee47c8277484f0fdc486ec201ed5c25d7b73a3 (diff) | |
parent | e09e6837208a5cda81c0eee233f301433201cb8b (diff) |
Merge pull request #1973 from linkmauve/no-sse4.1
Remove the -msse4.1 on ¬MSVC
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a436b981..779eb8e50 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,11 +66,6 @@ message(STATUS "Target architecture: ${ARCHITECTURE}") if (NOT MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -Wno-attributes") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") - - if (ARCHITECTURE_x86_64) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse4.1") - endif() else() # Silence "deprecation" warnings add_definitions(/D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_NO_DEPRECATE /D_SCL_SECURE_NO_WARNINGS) |