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:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-02-20 08:51:27 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-02-20 12:06:04 +0300
commitff675f03672cb359f35398d45bcdea4aa62292fa (patch)
tree34593cdab5b84643e597743e4fb4caf10ae503dc /source/blender/compositor
parent813255355379b236e91c23e758109d37f080a71d (diff)
CMake: Don't pass SSE2 flags in compositor for 64bit MSVC
ALl 64 bit platforms supports SSE2, hence the flag is ignored and warning was generated.
Diffstat (limited to 'source/blender/compositor')
-rw-r--r--source/blender/compositor/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/CMakeLists.txt b/source/blender/compositor/CMakeLists.txt
index 6ad8be719ce..35e5ec98e57 100644
--- a/source/blender/compositor/CMakeLists.txt
+++ b/source/blender/compositor/CMakeLists.txt
@@ -542,7 +542,7 @@ list(APPEND INC
${CMAKE_CURRENT_BINARY_DIR}/operations
)
-if(MSVC)
+if(MSVC AND NOT CMAKE_CL_64)
set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} /arch:SSE2")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /arch:SSE2")
endif()