Skip to content

Commit

Permalink
CMake: fix compile options for Windows ARM64 (#579)
Browse files Browse the repository at this point in the history
Signed-off-by: Zheltov, Sergey1 <sergey1.zheltov@intel.com>
  • Loading branch information
zheltovs committed Sep 16, 2021
1 parent 5d7abed commit 43169c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/compilers/MSVC.cmake
Expand Up @@ -33,7 +33,7 @@ if (MSVC_VERSION LESS_EQUAL 1900)
set(TBB_TEST_COMPILE_FLAGS ${TBB_TEST_COMPILE_FLAGS} /wd4503)
endif()
set(TBB_LIB_COMPILE_FLAGS -D_CRT_SECURE_NO_WARNINGS /GS)
set(TBB_COMMON_COMPILE_FLAGS /volatile:iso /FS)
set(TBB_COMMON_COMPILE_FLAGS /volatile:iso /FS /EHsc)

# Ignore /WX set through add_compile_options() or added to CMAKE_CXX_FLAGS if TBB_STRICT is disabled.
if (NOT TBB_STRICT AND COMMAND tbb_remove_compile_flag)
Expand Down

0 comments on commit 43169c2

Please sign in to comment.