We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ea1ff1 commit a972f0dCopy full SHA for a972f0d
cmake/OpenCVFindIPPIW.cmake
@@ -31,9 +31,10 @@ file(TO_CMAKE_PATH "${IPPROOT}" IPPROOT)
31
32
# This function detects Intel IPP IW version by analyzing .h file
33
macro(ippiw_setup PATH BUILD)
34
- set(FILE "${PATH}/include/iw/iw_version.h")
+ set(FILE "${PATH}/include/iw/iw_ll.h") # check if Intel IPP IW is OpenCV specific
35
ippiw_debugmsg("Checking path: ${PATH}")
36
if(EXISTS "${FILE}")
37
+ set(FILE "${PATH}/include/iw/iw_version.h")
38
ippiw_debugmsg("vfile\tok")
39
file(STRINGS "${FILE}" IW_VERSION_MAJOR REGEX "IW_VERSION_MAJOR")
40
file(STRINGS "${FILE}" IW_VERSION_MINOR REGEX "IW_VERSION_MINOR")
0 commit comments