option(WITH_API "Build with API layer, need OpenCV" ON) message(STATUS "Options:") message(STATUS " WITH_API: ${WITH_API}")