Skip to content

Commit

Permalink
Merge pull request opencv#17576 from philippefoubert:branch_ximea
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Jun 22, 2020
2 parents 721fac5 + 0eb7060 commit 6e5f0a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/videoio/cmake/detect_ximea.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ if(NOT HAVE_XIMEA)
endif()
endif()
if(X86_64)
set(lib_dir "x64")
set(lib_dir "API/x64" "API/64bit")
set(lib_suffix "64")
else()
set(lib_dir "x86")
set(lib_dir "API/x86" "API/32bit")
set(lib_suffix "32")
endif()
find_path(XIMEA_INCLUDE "xiApi.h"
Expand All @@ -19,7 +19,7 @@ if(NOT HAVE_XIMEA)
find_library(XIMEA_LIBRARY m3api xiapi${lib_suffix}
PATHS "${XIMEA_ROOT}" ENV XIMEA_ROOT "/opt/XIMEA"
HINTS "${regpath}"
PATH_SUFFIXES "API/${lib_dir}")
PATH_SUFFIXES ${lib_dir})
if(XIMEA_INCLUDE AND XIMEA_LIBRARY)
set(HAVE_XIMEA TRUE)
endif()
Expand Down

0 comments on commit 6e5f0a2

Please sign in to comment.