From ff675f03672cb359f35398d45bcdea4aa62292fa Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sat, 20 Feb 2016 10:51:27 +0500 Subject: 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. --- source/blender/compositor/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/compositor') 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() -- cgit v1.2.3