mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-15 10:10:07 +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(Percetto MODULE)
|
||||||
find_package(Systemd MODULE)
|
find_package(Systemd MODULE)
|
||||||
find_package(OpenGLES MODULE COMPONENTS V3)
|
find_package(OpenGLES MODULE COMPONENTS V3)
|
||||||
|
find_library(RT_LIBRARY rt)
|
||||||
endif()
|
endif()
|
||||||
if(NOT ANDROID)
|
if(NOT ANDROID AND NOT WIN32)
|
||||||
find_package(PkgConfig MODULE)
|
find_package(PkgConfig MODULE)
|
||||||
endif()
|
endif()
|
||||||
|
if(ANDROID)
|
||||||
|
find_library(ANDROID_LIBRARY android)
|
||||||
|
find_library(ANDROID_LOG_LIBRARY log)
|
||||||
|
endif()
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
find_package(wil CONFIG)
|
find_package(wil CONFIG)
|
||||||
find_library(D3D11_LIBRARY d3d11)
|
find_library(D3D11_LIBRARY d3d11)
|
||||||
|
@ -163,13 +168,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
pkg_check_modules(SURVIVE IMPORTED_TARGET survive)
|
pkg_check_modules(SURVIVE IMPORTED_TARGET survive)
|
||||||
endif()
|
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
|
# Find a external SLAM implementation
|
||||||
set(EXTERNAL_SLAM_SYSTEMS kimera_vio basalt)
|
set(EXTERNAL_SLAM_SYSTEMS kimera_vio basalt)
|
||||||
foreach(slam_system IN LISTS EXTERNAL_SLAM_SYSTEMS)
|
foreach(slam_system IN LISTS EXTERNAL_SLAM_SYSTEMS)
|
||||||
|
|
Loading…
Reference in a new issue