From 6757101f553c9f5ab3ad12fb26fa148d9cfc812f Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Sun, 17 Sep 2017 23:12:59 +0300 Subject: [PATCH] cmake/IPP: use absolute path --- cmake/OpenCVFindIPPIW.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()