diff --git a/CMakeLists.txt b/CMakeLists.txt index 9459fb8b3..50a6bc9b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,11 +29,11 @@ find_package(Vulkan REQUIRED) find_package(EGL) find_package(HIDAPI) find_package(OpenHMD) -find_package(OpenCV COMPONENTS core calib3d highgui imgproc imgcodecs features2d video) +find_package(OpenCV COMPONENTS core calib3d highgui imgproc imgcodecs features2d video CONFIG) find_package(Libusb1) find_package(JPEG) -find_package(realsense2) -find_package(SDL2) +find_package(realsense2 CONFIG) +find_package(SDL2 CONFIG) find_package(Threads) find_package(ZLIB) find_package(cJSON)