diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
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 |