mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-29 04:02:05 +01:00
cmake: Clean up build
This commit is contained in:
1 parent
ccb58dbe8a
commit
bd90347fce
1 file changed
+6
-8
+6
-8
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user