Skip to content

Commit c57aef7

Browse files
committed
Merge pull request opencv#9647 from alalek:cmake_ipp_absolute_path
2 parents e70b75b + 6757101 commit c57aef7

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)