From: Kefu Chai Date: Fri, 15 Sep 2017 02:18:45 +0000 (+0800) Subject: cmake: disable SSE4.2 by default X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bac0af364a2c742ea9bb63199ddeee0edacdb2ac;p=rocksdb.git 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 --- 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()