Update find mynteye in cmakelists of wrappers

This commit is contained in:
John Zhao
2018-09-04 15:59:38 +08:00
parent 4d5ff16f82
commit 02856194a0
2 changed files with 16 additions and 10 deletions

View File

@@ -83,6 +83,10 @@ LIST(APPEND CMAKE_PREFIX_PATH ${SDK_DIR}/_install/lib/cmake)
find_package(mynteye REQUIRED)
message(STATUS "Found mynteye: ${mynteye_VERSION}")
if(NOT mynteye_WITH_API)
message(FATAL_ERROR "Must with API layer :(")
endif()
include(${SDK_DIR}/cmake/DetectOpenCV.cmake)
if(mynteye_WITH_GLOG)