Commit 34c006fc authored by Marian Zajko's avatar Marian Zajko

Fixed ximea cmake settings

Fixed ximea cmake settings for 32bit win build and linux.
parent 1cd3c6f3
...@@ -131,10 +131,12 @@ if(HAVE_XIMEA) ...@@ -131,10 +131,12 @@ if(HAVE_XIMEA)
endif() endif()
if(WIN32 AND X86_64) if(WIN32 AND X86_64)
list(APPEND VIDEOIO_LIBRARIES xiapi64) list(APPEND VIDEOIO_LIBRARIES xiapi64)
elseif(WIN32)
list(APPEND VIDEOIO_LIBRARIES xiapi32)
elseif(APPLE) elseif(APPLE)
list(APPEND VIDEOIO_LIBRARIES "-framework m3api") list(APPEND VIDEOIO_LIBRARIES "-framework m3api")
else() else()
list(APPEND VIDEOIO_LIBRARIES xiapi32) list(APPEND VIDEOIO_LIBRARIES m3api)
endif() endif()
endif(HAVE_XIMEA) endif(HAVE_XIMEA)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment