Skip to content

Commit a972f0d

Browse files
author
Pavel Vlasov
committed
Standalone IPP with IW fix;
1 parent 1ea1ff1 commit a972f0d

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
@@ -31,9 +31,10 @@ file(TO_CMAKE_PATH "${IPPROOT}" IPPROOT)
3131

3232
# This function detects Intel IPP IW version by analyzing .h file
3333
macro(ippiw_setup PATH BUILD)
34-
set(FILE "${PATH}/include/iw/iw_version.h")
34+
set(FILE "${PATH}/include/iw/iw_ll.h") # check if Intel IPP IW is OpenCV specific
3535
ippiw_debugmsg("Checking path: ${PATH}")
3636
if(EXISTS "${FILE}")
37+
set(FILE "${PATH}/include/iw/iw_version.h")
3738
ippiw_debugmsg("vfile\tok")
3839
file(STRINGS "${FILE}" IW_VERSION_MAJOR REGEX "IW_VERSION_MAJOR")
3940
file(STRINGS "${FILE}" IW_VERSION_MINOR REGEX "IW_VERSION_MINOR")

0 commit comments

Comments
 (0)