-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Closed
Description
Describe the feature and motivation
IPP 2021.10 change the directory structure, need some tune for find the IPP in oneapi
OpenCVFindIPP.cmake
- set(IPP_INCLUDE_DIRS ${IPP_ROOT_DIR}/include)
+ set(IPP_INCLUDE_DIRS ${IPP_ROOT_DIR}/include/ipp)
set(__msg)
if(EXISTS ${IPP_ROOT_DIR}/include/ippicv_redefs.h)
@@ -118,7 +118,7 @@ macro(ipp_detect_version)
if(APPLE AND NOT HAVE_IPP_ICV)
_ipp_set_library_dir(${IPP_ROOT_DIR}/lib)
elseif(IPP_X64)
- _ipp_set_library_dir(${IPP_ROOT_DIR}/lib/intel64)
+ _ipp_set_library_dir(${IPP_ROOT_DIR}/lib/)
else()
_ipp_set_library_dir(${IPP_ROOT_DIR}/lib/ia32)
endif()
@@ -271,7 +271,7 @@ if(NOT DEFINED IPPROOT)
endif()
file(TO_CMAKE_PATH "${IPPROOT}" __IPPROOT)
-if(EXISTS "${__IPPROOT}/include/ippversion.h")
+if(EXISTS "${__IPPROOT}/include/ipp/ippversion.h")
set(IPP_ROOT_DIR ${__IPPROOT})
ipp_detect_version()
endif()
Additional context
No response
Reactions are currently unavailable