MSVC 2015: Workaround bogus warning with move_backwards.

This commit is contained in:
Hans-Kristian Arntzen 2019-07-10 13:08:42 +02:00
parent 3548f76a02
commit 7ffc24fa20

View File

@ -103,7 +103,7 @@ if (CMAKE_COMPILER_IS_GNUCXX OR (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang"))
set(spirv-cross-link-flags "${spirv-cross-link-flags} -fsanitize=thread")
endif()
elseif (MSVC)
set(spirv-compiler-options ${spirv-compiler-options} /wd4267)
set(spirv-compiler-options ${spirv-compiler-options} /wd4267 /wd4996)
endif()
macro(extract_headers out_abs file_list)