From bac0af364a2c742ea9bb63199ddeee0edacdb2ac Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 15 Sep 2017 10:18:45 +0800 Subject: [PATCH] cmake: disable SSE4.2 by default this commit is not cherry-picked from fb upstream, as it added "PORTABLE" and "FORCE_SSE42" to do this. Signed-off-by: Kefu Chai --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b1719de..5f82b33a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,7 +125,7 @@ if(WIN32) endif() endif() else() - option(WITH_SSE42 "build with SSE4.2" ON) + option(WITH_SSE42 "build with SSE4.2" OFF) if(WITH_SSE42) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.2") endif() -- 2.47.3