Put all FetchContent_declare in one place

This commit is contained in:
Guillaume Meunier
2022-11-13 13:00:52 +01:00
parent f0cb88d32c
commit 3b5f351e28
4 changed files with 9 additions and 19 deletions
-6
View File
@@ -38,11 +38,6 @@ set(BUILD_TESTING OFF)
set(XRT_IPC_MSG_SOCK_FILENAME "wivrn_comp_ipc")
set(RUNTIME_BARE_SUFFIX "wivrn")
FetchContent_Declare(monado
GIT_REPOSITORY https://gitlab.freedesktop.org/xytovl/monado
GIT_TAG 9044e870696f39ace2293488ad5e663f366031a6
)
FetchContent_GetProperties(monado)
if(NOT monado_POPULATED)
# Fetch the content using previously declared details
@@ -59,7 +54,6 @@ add_executable(monado-wivrn
hostname.cpp
avahi_publisher.cpp
driver/encoder_settings.cpp
driver/wivrn_hmd.cpp
driver/wivrn_comp_target.cpp