Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-07-01 17:21:40 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-07-01 17:21:40 +0400
commit0fa0d12ff00e311e330cc19cb5478be27ab67e06 (patch)
tree7d331164bf4150eb9c4aaa79a5d7fc3cf88818e8 /CMakeLists.txt
parent7c859b305f5dc9aef35c075e3a7029dadff688df (diff)
fix for building with WITH_RAYOPTIMIZATION
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b4272d5f118..fedca9ba1ba 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -304,6 +304,10 @@ IF(UNIX AND NOT APPLE)
SET(PLATFORM_CFLAGS "-pipe -fPIC -funsigned-char -fno-strict-aliasing -Wno-char-subscripts")
+ IF(WITH_RAYOPTIMIZATION)
+ SET(PLATFORM_CFLAGS " -msse ${PLATFORM_CFLAGS}")
+ ENDIF(WITH_RAYOPTIMIZATION)
+
SET(PLATFORM_LINKFLAGS "-pthread")
# Better warnings