shithub: dumb

Download patch

ref: 30dc8c8c9ead24734d0a42994d2fd3186bf05874
parent: 14bf151cba840ea4db29226c1bcfb07c286b1afa
author: Tuomas Virtanen <katajakasa@gmail.com>
date: Mon Nov 11 04:29:52 EST 2013

Remove unnecessary USE_SSE option from cmake file.

--- a/dumb/cmake/CMakeLists.txt
+++ b/dumb/cmake/CMakeLists.txt
@@ -2,13 +2,8 @@
 project(libdumb C)
 
 OPTION(BUILD_SHARED "Build Shared Library (OFF for Static)" ON)
-OPTION(USE_SSE "Use SSE" OFF)
 
-set(COMMON_FLAGS "-Wall -DDUMB_DECLARE_DEPRECATED -Wno-unused-but-set-variable")
-IF(USE_SSE)
-    set(COMMON_FLAGS "${COMMON_FLAGS} -msse -D_USE_SSE")
-ENDIF(USE_SSE)
-
+set(COMMON_FLAGS "-Wall -DDUMB_DECLARE_DEPRECATED -D_USE_SSE -Wno-unused-but-set-variable")
 set(CMAKE_C_FLAGS "${COMMON_FLAGS} -ffast-math -O2")
 set(CMAKE_C_FLAGS_DEBUG "${COMMON_FLAGS} -ggdb -DDEBUGMODE")
 set(CMAKE_C_FLAGS_RELEASE "${COMMON_FLAGS} -ffast-math -O2")