XIMEA cam support: allow on OS X too

This commit is contained in:
Igor Kuzmin
2014-09-09 19:17:13 +04:00
parent b027a84fa1
commit 0421da78b3
3 changed files with 9 additions and 1 deletions

View File

@@ -31,6 +31,12 @@ if(WIN32)
else()
set(XIMEA_FOUND 0)
endif()
elseif(APPLE)
if(EXISTS /Library/Frameworks/m3api.framework)
set(XIMEA_FOUND 1)
else()
set(XIMEA_FOUND 0)
endif()
else()
if(EXISTS /opt/XIMEA)
set(XIMEA_FOUND 1)