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 fa5ed8e commit b92627bCopy full SHA for b92627b
test/CMakeLists.txt
@@ -535,6 +535,12 @@ if (TARGET TBB::tbb)
535
536
set_target_properties(test_openmp PROPERTIES COMPILE_FLAGS ${TBB_OPENMP_FLAG})
537
538
+ # Intel LLVM compiler triggers a warning when using OpenMP in debug mode on Windows.
539
+ # The only way not to trigger it seems to be explicitly disabling it from the command line.
540
+ if (WIN32 AND (CMAKE_CXX_COMPILER_ID STREQUAL IntelLLVM) AND (CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 2025.0))
541
+ target_compile_options(test_openmp PRIVATE $<$<CONFIG:DEBUG>:-Wno-debug-option-simd>)
542
+ endif()
543
+
544
if (NOT TBB_OPENMP_NO_LINK_FLAG)
545
set_target_properties(test_openmp PROPERTIES LINK_FLAGS ${TBB_OPENMP_FLAG})
546
endif()
0 commit comments