mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
b184723ffb
it might crash on CPUs that do not support those instructions, with SIGILL.
20 lines
541 B
Plaintext
20 lines
541 B
Plaintext
--- CMakeLists.txt.orig 2015-08-28 22:32:38 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -46,7 +46,10 @@ ELSE(WIN32)
|
|
ADD_DEFINITIONS (-Wall -Wextra)
|
|
ADD_DEFINITIONS (-pthread)
|
|
|
|
- SET( CMAKE_CXX_FLAGS "-fPIC -msse4.1")
|
|
+ SET( CMAKE_CXX_FLAGS -fPIC )
|
|
+ IF(USE_SSE41)
|
|
+ SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1" )
|
|
+ ENDIF()
|
|
ENDIF(WIN32)
|
|
|
|
## Choose build options
|
|
@@ -99,4 +102,3 @@ ADD_SUBDIRECTORY (src/SeExpr)
|
|
ADD_SUBDIRECTORY (src/SeExprEditor)
|
|
ADD_SUBDIRECTORY (src/doc)
|
|
ADD_SUBDIRECTORY (src/demos)
|
|
-ADD_SUBDIRECTORY (src/tests)
|