From ed5721a79b06b9e13d458ac8d55c1cab19da158f Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 20 Jun 2014 18:51:34 +0200 Subject: [PATCH] Add SSE3 compile flag if enabled --- code/CMakeModules/nel.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/CMakeModules/nel.cmake b/code/CMakeModules/nel.cmake index 07ea78f25..2d7632aa8 100644 --- a/code/CMakeModules/nel.cmake +++ b/code/CMakeModules/nel.cmake @@ -617,6 +617,10 @@ MACRO(NL_SETUP_BUILD) ENDIF(CLANG) ENDIF(WIN32) + IF(WITH_SSE3) + ADD_PLATFORM_FLAGS("-msse3") + ENDIF(WITH_SSE3) + IF(APPLE) IF(NOT XCODE) IF(CMAKE_OSX_ARCHITECTURES)