Skip to content
Snippets Groups Projects
Commit 9df8ab02 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Better handle missing opencv

parent 7a40fadd
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,8 @@ armarx_project("RobotAPI")
depends_on_armarx_package(ArmarXGui)
find_package(DMP QUIET)
find_package(OpenCV QUIET)
find_package(IVT COMPONENTS ivt ivtopencv QUIET)
add_subdirectory(source)
......
......@@ -12,6 +12,7 @@ armarx_build_if(libmongocxx_FOUND "libmongocxx not available. ${INSTALL_SCRIPT_M
find_package(libbsoncxx QUIET)
armarx_build_if(libbsoncxx_FOUND "libbsoncxx not available. ${INSTALL_SCRIPT_MSG}")
armarx_build_if(OpenCV_FOUND "OpenCV not available")
set(LIBS
ArmarXCoreInterfaces
......
......@@ -3,8 +3,8 @@ set(LIB_NAME aronivtconverter)
armarx_component_set_name("${LIB_NAME}")
armarx_set_target("Library: ${LIB_NAME}")
find_package(IVT COMPONENTS ivt ivtopencv QUIET)
armarx_build_if(IVT_FOUND "IVT not available")
armarx_build_if(OpenCV_FOUND "OpenCV not available")
set(LIBS
aron
......
......@@ -3,7 +3,6 @@ set(LIB_NAME aronopencvconverter)
armarx_component_set_name("${LIB_NAME}")
armarx_set_target("Library: ${LIB_NAME}")
find_package(OpenCV QUIET)
armarx_build_if(OpenCV_FOUND "OpenCV not available")
set(LIBS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment