diff --git a/cmake/OpenCVFindIPP.cmake b/cmake/OpenCVFindIPP.cmake index b4f3a78f2c..6bcd81d8b4 100644 --- a/cmake/OpenCVFindIPP.cmake +++ b/cmake/OpenCVFindIPP.cmake @@ -151,7 +151,7 @@ macro(ipp_detect_version) if("${name}" STREQUAL "core") # https://github.com/opencv/opencv/pull/19681 if(OPENCV_FORCE_IPP_EXCLUDE_LIBS OR OPENCV_FORCE_IPP_EXCLUDE_LIBS_CORE OR (UNIX AND NOT ANDROID AND NOT APPLE - AND (CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") + AND CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang|Intel" ) AND NOT OPENCV_SKIP_IPP_EXCLUDE_LIBS_CORE ) diff --git a/cmake/OpenCVFindLibsPerf.cmake b/cmake/OpenCVFindLibsPerf.cmake index 3753084d28..a191afde58 100644 --- a/cmake/OpenCVFindLibsPerf.cmake +++ b/cmake/OpenCVFindLibsPerf.cmake @@ -29,7 +29,7 @@ if(WITH_IPP) if(OPENCV_FORCE_IPP_EXCLUDE_LIBS OR (HAVE_IPP_ICV AND UNIX AND NOT ANDROID AND NOT APPLE - AND (CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") + AND CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang|Intel" ) AND NOT OPENCV_SKIP_IPP_EXCLUDE_LIBS )