From 6c0f3d052e1e41089a5887d38529b659b2792dce Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 4 Jul 2010 18:40:59 +0000 Subject: Detect SSE building support with cmake, and moved setting the defines out of the render mode cmake file into the main one. Should fix PPC compile, and hopefully not break others. --- source/blender/render/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source/blender/render/CMakeLists.txt') diff --git a/source/blender/render/CMakeLists.txt b/source/blender/render/CMakeLists.txt index 89bdad7c6c7..9199a0a33ba 100644 --- a/source/blender/render/CMakeLists.txt +++ b/source/blender/render/CMakeLists.txt @@ -54,11 +54,6 @@ IF(APPLE) ENDIF(CMAKE_OSX_ARCHITECTURES MATCHES "i386" OR CMAKE_OSX_ARCHITECTURES MATCHES "x86_64") ENDIF(APPLE) -IF(WITH_RAYOPTIMIZATION) - ADD_DEFINITIONS(-D__SSE__) - ADD_DEFINITIONS(-D__MMX__) -ENDIF(WITH_RAYOPTIMIZATION) - #TODO #if env['OURPLATFORM']=='linux2': # cflags='-pthread' -- cgit v1.2.3