Add SSE3 compile flag if enabled

This commit is contained in:
kaetemi 2014-06-20 18:51:34 +02:00
parent 2753b49b45
commit ca8f75bea8

View file

@ -617,6 +617,10 @@ MACRO(NL_SETUP_BUILD)
ENDIF(CLANG) ENDIF(CLANG)
ENDIF(WIN32) ENDIF(WIN32)
IF(WITH_SSE3)
ADD_PLATFORM_FLAGS("-msse3")
ENDIF(WITH_SSE3)
IF(APPLE) IF(APPLE)
IF(NOT XCODE) IF(NOT XCODE)
IF(CMAKE_OSX_ARCHITECTURES) IF(CMAKE_OSX_ARCHITECTURES)