diff --git a/cmake/OpenCVFindIPPIW.cmake b/cmake/OpenCVFindIPPIW.cmake index 10f77b11be..800b4000c9 100644 --- a/cmake/OpenCVFindIPPIW.cmake +++ b/cmake/OpenCVFindIPPIW.cmake @@ -136,7 +136,8 @@ if(BUILD_IPP_IW) ippiw_setup("${OpenCV_SOURCE_DIR}/3rdparty/ippiw" 1) # Package sources - ippiw_setup("${IPPROOT}/../${IW_PACKAGE_SUBDIR}/" 1) + get_filename_component(__PATH "${IPPROOT}/../${IW_PACKAGE_SUBDIR}/" ABSOLUTE) + ippiw_setup("${_PATH}" 1) endif()