We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af7756c commit 1b1b683Copy full SHA for 1b1b683
1 file changed
test/CMakeLists.txt
@@ -13,6 +13,9 @@ itlabai_copy_opencv_runtime(run_test)
13
14
if(ITLABAI_ENABLE_SYCL)
15
find_package(AdaptiveCpp CONFIG REQUIRED)
16
+ if(WIN32 AND CMAKE_CXX_COMPILER_FRONTEND_VARIANT STREQUAL "MSVC")
17
+ target_compile_options(run_test PRIVATE /EHsc)
18
+ endif()
19
if(NOT WIN32)
20
add_sycl_to_target(TARGET run_test SOURCES ${TEST_SRC_FILES})
21
endif()
0 commit comments