diff options
author | Damien Plisson <damien.plisson@yahoo.fr> | 2010-01-30 22:07:48 +0300 |
---|---|---|
committer | Damien Plisson <damien.plisson@yahoo.fr> | 2010-01-30 22:07:48 +0300 |
commit | 62ebf87d8502f996b7ddfcc7e3bb63bd3b66edbf (patch) | |
tree | 86ab61442b2795b7b4375f596ba1b2d8f1d3bf02 /source/blender/render | |
parent | e1700aa6c94d34b6e96571506207d660686d6003 (diff) |
OSX : update build scripts for updated openCollada libs + ray tracing optimization option in cmake
OpenCollada new version (721) lib has additional lib files to link with.
Added BF_RAY_OPTIMIZATION option in CMake (as the one in scons) for building SIMD optimized ray tracing code.
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/render/CMakeLists.txt b/source/blender/render/CMakeLists.txt index 40f697c7776..c396e3fc534 100644 --- a/source/blender/render/CMakeLists.txt +++ b/source/blender/render/CMakeLists.txt @@ -54,6 +54,10 @@ IF(APPLE) ENDIF(CMAKE_OSX_ARCHITECTURES MATCHES "i386" OR CMAKE_OSX_ARCHITECTURES MATCHES "x86_64") ENDIF(APPLE) +IF(WITH_BF_RAYOPTIMIZATION) + ADD_DEFINITIONS(-D__SSE__) +ENDIF(WITH_BF_RAYOPTIMIZATION) + #TODO #if env['OURPLATFORM']=='linux2': # cflags='-pthread' |