Fixed ximea cmake settings

Fixed ximea cmake settings for 32bit win build and linux.
pull/6012/head
Marian Zajko 9 years ago
parent 1cd3c6f364
commit 34c006fcc4
  1. 4
      modules/videoio/CMakeLists.txt

@ -131,10 +131,12 @@ if(HAVE_XIMEA)
endif()
if(WIN32 AND X86_64)
list(APPEND VIDEOIO_LIBRARIES xiapi64)
elseif(WIN32)
list(APPEND VIDEOIO_LIBRARIES xiapi32)
elseif(APPLE)
list(APPEND VIDEOIO_LIBRARIES "-framework m3api")
else()
list(APPEND VIDEOIO_LIBRARIES xiapi32)
list(APPEND VIDEOIO_LIBRARIES m3api)
endif()
endif(HAVE_XIMEA)

Loading…
Cancel
Save