Skip to content

Commit 6757101

Browse files
committed
cmake/IPP: use absolute path
1 parent 37ba1d6 commit 6757101

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmake/OpenCVFindIPPIW.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ if(BUILD_IPP_IW)
136136
ippiw_setup("${OpenCV_SOURCE_DIR}/3rdparty/ippiw" 1)
137137

138138
# Package sources
139-
ippiw_setup("${IPPROOT}/../${IW_PACKAGE_SUBDIR}/" 1)
139+
get_filename_component(__PATH "${IPPROOT}/../${IW_PACKAGE_SUBDIR}/" ABSOLUTE)
140+
ippiw_setup("${_PATH}" 1)
140141
endif()
141142

142143

0 commit comments

Comments
 (0)