mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 01:48:31 +00:00
cmake: Clean up build
This commit is contained in:
parent
ccb58dbe8a
commit
bd90347fce
|
@ -102,10 +102,15 @@ if(NOT WIN32)
|
|||
find_package(Percetto MODULE)
|
||||
find_package(Systemd MODULE)
|
||||
find_package(OpenGLES MODULE COMPONENTS V3)
|
||||
find_library(RT_LIBRARY rt)
|
||||
endif()
|
||||
if(NOT ANDROID)
|
||||
if(NOT ANDROID AND NOT WIN32)
|
||||
find_package(PkgConfig MODULE)
|
||||
endif()
|
||||
if(ANDROID)
|
||||
find_library(ANDROID_LIBRARY android)
|
||||
find_library(ANDROID_LOG_LIBRARY log)
|
||||
endif()
|
||||
if(WIN32)
|
||||
find_package(wil CONFIG)
|
||||
find_library(D3D11_LIBRARY d3d11)
|
||||
|
@ -163,13 +168,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|||
pkg_check_modules(SURVIVE IMPORTED_TARGET survive)
|
||||
endif()
|
||||
|
||||
find_library(RT_LIBRARY rt)
|
||||
|
||||
if(ANDROID)
|
||||
find_library(ANDROID_LIBRARY android)
|
||||
find_library(ANDROID_LOG_LIBRARY log)
|
||||
endif()
|
||||
|
||||
# Find a external SLAM implementation
|
||||
set(EXTERNAL_SLAM_SYSTEMS kimera_vio basalt)
|
||||
foreach(slam_system IN LISTS EXTERNAL_SLAM_SYSTEMS)
|
||||
|
|
Loading…
Reference in a new issue