A regression in cmake configuration
A compilation error occurs on current master. An older commit 24bc8135 compiles fine.
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=~/.local
CMake Warning at CMakeLists.txt:29 (find_package):
By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "OpenCV", but
CMake did not find one.
Could not find a package configuration file provided by "OpenCV" with any
of the following names:
OpenCVConfig.cmake
opencv-config.cmake
Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
"OpenCV_DIR" to a directory containing one of the above files. If "OpenCV"
provides a separate development package or SDK, be sure it has been
installed.
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
-- Checking for module 'libuvc'
-- No package 'libuvc' found
-- Checking for one of the modules 'wayland-client'
-- Checking for one of the modules 'wayland-scanner'
-- Checking for one of the modules 'wayland-protocols'
CMake Error at src/xrt/drivers/CMakeLists.txt:96 (target_link_libraries):
Object library target "drv_vive" may not link to anything.
-- Configuring incomplete, errors occurred!
See also "/home/limeth/workspace/c/monado/build/CMakeFiles/CMakeOutput.log".
See also "/home/limeth/workspace/c/monado/build/CMakeFiles/CMakeError.log".