mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-28 17:38:27 +00:00
cmake: Explicitly specify whether we expect a module or a config.
This commit is contained in:
parent
0fec29687a
commit
524d6f73c3
|
@ -47,26 +47,26 @@ endif()
|
|||
# Redundant mention of version is required because module defaults to looking for 2.91-compatible,
|
||||
# which the config file for a 3.x says it's not compatible with.
|
||||
find_package(Eigen3 3 REQUIRED)
|
||||
find_package(Vulkan)
|
||||
find_package(EGL)
|
||||
find_package(HIDAPI)
|
||||
find_package(OpenHMD)
|
||||
find_package(Vulkan MODULE)
|
||||
find_package(EGL MODULE)
|
||||
find_package(HIDAPI MODULE)
|
||||
find_package(OpenHMD MODULE)
|
||||
find_package(OpenCV COMPONENTS core calib3d highgui imgproc imgcodecs features2d video CONFIG)
|
||||
find_package(Libusb1)
|
||||
find_package(JPEG)
|
||||
find_package(Libusb1 MODULE)
|
||||
find_package(JPEG MODULE)
|
||||
find_package(realsense2 CONFIG)
|
||||
find_package(depthai CONFIG)
|
||||
find_package(SDL2 CONFIG)
|
||||
find_package(ZLIB)
|
||||
find_package(cJSON)
|
||||
find_package(Systemd)
|
||||
find_package(OpenGLES COMPONENTS V3)
|
||||
find_package(LeapV2)
|
||||
find_package(ONNXRuntime)
|
||||
find_package(Percetto)
|
||||
find_package(ZLIB MODULE)
|
||||
find_package(cJSON MODULE)
|
||||
find_package(Systemd MODULE)
|
||||
find_package(OpenGLES MODULE COMPONENTS V3)
|
||||
find_package(LeapV2 MODULE)
|
||||
find_package(ONNXRuntime MODULE)
|
||||
find_package(Percetto MODULE)
|
||||
|
||||
#https://github.com/arsenm/sanitizers-cmake
|
||||
find_package(Sanitizers)
|
||||
find_package(Sanitizers MODULE)
|
||||
|
||||
add_library(xrt-pthreads INTERFACE)
|
||||
if(WIN32)
|
||||
|
|
Loading…
Reference in a new issue