From 138a0aee530f9038c0c4eaf5d3a4bf94a8f94ae9 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 9 Nov 2023 18:31:26 +1100 Subject: [PATCH] [all] update cmake minimum version --- client/CMakeLists.txt | 2 +- client/audiodevs/CMakeLists.txt | 2 +- client/audiodevs/PipeWire/CMakeLists.txt | 2 +- client/audiodevs/PulseAudio/CMakeLists.txt | 2 +- client/displayservers/CMakeLists.txt | 2 +- client/displayservers/Wayland/CMakeLists.txt | 2 +- client/displayservers/Wayland/desktops/CMakeLists.txt | 2 +- client/displayservers/Wayland/desktops/libdecor/CMakeLists.txt | 2 +- client/displayservers/Wayland/desktops/xdg/CMakeLists.txt | 2 +- client/displayservers/Wayland/protocol/CMakeLists.txt | 2 +- client/displayservers/X11/CMakeLists.txt | 2 +- client/renderers/CMakeLists.txt | 2 +- client/renderers/EGL/CMakeLists.txt | 2 +- client/renderers/OpenGL/CMakeLists.txt | 2 +- common/CMakeLists.txt | 2 +- common/src/platform/CMakeLists.txt | 2 +- common/src/platform/linux/CMakeLists.txt | 2 +- common/src/platform/windows/CMakeLists.txt | 2 +- host/CMakeLists.txt | 2 +- host/platform/CMakeLists.txt | 2 +- host/platform/Linux/CMakeLists.txt | 2 +- host/platform/Linux/capture/CMakeLists.txt | 2 +- host/platform/Linux/capture/XCB/CMakeLists.txt | 2 +- host/platform/Linux/capture/pipewire/CMakeLists.txt | 2 +- host/platform/Windows/CMakeLists.txt | 2 +- host/platform/Windows/capture/CMakeLists.txt | 2 +- host/platform/Windows/capture/DXGI/CMakeLists.txt | 2 +- host/platform/Windows/capture/NVFBC/CMakeLists.txt | 2 +- obs/CMakeLists.txt | 2 +- 29 files changed, 29 insertions(+), 29 deletions(-) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index edea7f28..3755adcf 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(looking-glass-client C CXX) get_filename_component(PROJECT_TOP "${PROJECT_SOURCE_DIR}/.." ABSOLUTE) diff --git a/client/audiodevs/CMakeLists.txt b/client/audiodevs/CMakeLists.txt index 1100c697..4df4a3d7 100644 --- a/client/audiodevs/CMakeLists.txt +++ b/client/audiodevs/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(audiodevs LANGUAGES C) set(AUDIODEV_H "${CMAKE_BINARY_DIR}/include/dynamic/audiodev.h") diff --git a/client/audiodevs/PipeWire/CMakeLists.txt b/client/audiodevs/PipeWire/CMakeLists.txt index 30fe2812..bbf4bb28 100644 --- a/client/audiodevs/PipeWire/CMakeLists.txt +++ b/client/audiodevs/PipeWire/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(audiodev_PipeWire LANGUAGES C) find_package(PkgConfig) diff --git a/client/audiodevs/PulseAudio/CMakeLists.txt b/client/audiodevs/PulseAudio/CMakeLists.txt index 4a5e5097..d50517ab 100644 --- a/client/audiodevs/PulseAudio/CMakeLists.txt +++ b/client/audiodevs/PulseAudio/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(audiodev_PulseAudio LANGUAGES C) find_package(PkgConfig) diff --git a/client/displayservers/CMakeLists.txt b/client/displayservers/CMakeLists.txt index f8bc72c4..5b5f827a 100644 --- a/client/displayservers/CMakeLists.txt +++ b/client/displayservers/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(displayservers LANGUAGES C) set(DISPLAYSERVER_H "${CMAKE_BINARY_DIR}/include/dynamic/displayservers.h") diff --git a/client/displayservers/Wayland/CMakeLists.txt b/client/displayservers/Wayland/CMakeLists.txt index 65e3bb2c..0c3bd100 100644 --- a/client/displayservers/Wayland/CMakeLists.txt +++ b/client/displayservers/Wayland/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(displayserver_Wayland LANGUAGES C) find_package(PkgConfig) diff --git a/client/displayservers/Wayland/desktops/CMakeLists.txt b/client/displayservers/Wayland/desktops/CMakeLists.txt index af5d1d6a..091ea098 100644 --- a/client/displayservers/Wayland/desktops/CMakeLists.txt +++ b/client/displayservers/Wayland/desktops/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(wayland_desktops LANGUAGES C) set(DESKTOP_H "${CMAKE_BINARY_DIR}/include/dynamic/wayland_desktops.h") diff --git a/client/displayservers/Wayland/desktops/libdecor/CMakeLists.txt b/client/displayservers/Wayland/desktops/libdecor/CMakeLists.txt index 59d9c328..31330102 100644 --- a/client/displayservers/Wayland/desktops/libdecor/CMakeLists.txt +++ b/client/displayservers/Wayland/desktops/libdecor/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(wayland_desktop_libdecor LANGUAGES C) add_library(wayland_desktop_libdecor STATIC diff --git a/client/displayservers/Wayland/desktops/xdg/CMakeLists.txt b/client/displayservers/Wayland/desktops/xdg/CMakeLists.txt index 6af1c726..6e9f3279 100644 --- a/client/displayservers/Wayland/desktops/xdg/CMakeLists.txt +++ b/client/displayservers/Wayland/desktops/xdg/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(wayland_desktop_xdg LANGUAGES C) add_library(wayland_desktop_xdg STATIC diff --git a/client/displayservers/Wayland/protocol/CMakeLists.txt b/client/displayservers/Wayland/protocol/CMakeLists.txt index 76ee8fc6..d262af27 100644 --- a/client/displayservers/Wayland/protocol/CMakeLists.txt +++ b/client/displayservers/Wayland/protocol/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(wayland_protocol LANGUAGES C) find_package(PkgConfig) diff --git a/client/displayservers/X11/CMakeLists.txt b/client/displayservers/X11/CMakeLists.txt index f5e11fbe..8e52488e 100644 --- a/client/displayservers/X11/CMakeLists.txt +++ b/client/displayservers/X11/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(displayserver_X11 LANGUAGES C) find_package(PkgConfig) diff --git a/client/renderers/CMakeLists.txt b/client/renderers/CMakeLists.txt index 7a629b9b..630c233f 100644 --- a/client/renderers/CMakeLists.txt +++ b/client/renderers/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(renderers LANGUAGES C) set(RENDERER_H "${CMAKE_BINARY_DIR}/include/dynamic/renderers.h") diff --git a/client/renderers/EGL/CMakeLists.txt b/client/renderers/EGL/CMakeLists.txt index 7ad1e9ee..a14f9d3b 100644 --- a/client/renderers/EGL/CMakeLists.txt +++ b/client/renderers/EGL/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(renderer_EGL LANGUAGES C CXX) find_package(PkgConfig) diff --git a/client/renderers/OpenGL/CMakeLists.txt b/client/renderers/OpenGL/CMakeLists.txt index 5ff4cc61..dd3c3f03 100644 --- a/client/renderers/OpenGL/CMakeLists.txt +++ b/client/renderers/OpenGL/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(renderer_Opengl LANGUAGES C CXX) find_package(PkgConfig) diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index a2e255df..cc5b4368 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(lg_common LANGUAGES C) list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/") diff --git a/common/src/platform/CMakeLists.txt b/common/src/platform/CMakeLists.txt index 58e764be..88d37449 100644 --- a/common/src/platform/CMakeLists.txt +++ b/common/src/platform/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(lg_common_platform LANGUAGES C) if (UNIX) diff --git a/common/src/platform/linux/CMakeLists.txt b/common/src/platform/linux/CMakeLists.txt index f0f5165e..eacac33b 100644 --- a/common/src/platform/linux/CMakeLists.txt +++ b/common/src/platform/linux/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(lg_common_platform_code LANGUAGES C) include_directories( diff --git a/common/src/platform/windows/CMakeLists.txt b/common/src/platform/windows/CMakeLists.txt index 082ddd7d..7983fcce 100644 --- a/common/src/platform/windows/CMakeLists.txt +++ b/common/src/platform/windows/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(lg_common_platform_code LANGUAGES C) include_directories( diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index ad047d6a..aadcb84f 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(looking-glass-host C) get_filename_component(PROJECT_TOP "${PROJECT_SOURCE_DIR}/.." ABSOLUTE) diff --git a/host/platform/CMakeLists.txt b/host/platform/CMakeLists.txt index 9a9db670..3048e2ed 100644 --- a/host/platform/CMakeLists.txt +++ b/host/platform/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(platform LANGUAGES C) if (UNIX) diff --git a/host/platform/Linux/CMakeLists.txt b/host/platform/Linux/CMakeLists.txt index d1bb26e2..c02edfca 100644 --- a/host/platform/Linux/CMakeLists.txt +++ b/host/platform/Linux/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(platform_Linux LANGUAGES C) include_directories( diff --git a/host/platform/Linux/capture/CMakeLists.txt b/host/platform/Linux/capture/CMakeLists.txt index b235e924..ad92de13 100644 --- a/host/platform/Linux/capture/CMakeLists.txt +++ b/host/platform/Linux/capture/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(capture LANGUAGES C) include("PreCapture") diff --git a/host/platform/Linux/capture/XCB/CMakeLists.txt b/host/platform/Linux/capture/XCB/CMakeLists.txt index 5bfd86c1..ee9a7c69 100644 --- a/host/platform/Linux/capture/XCB/CMakeLists.txt +++ b/host/platform/Linux/capture/XCB/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(capture_XCB LANGUAGES C) add_library(capture_XCB STATIC diff --git a/host/platform/Linux/capture/pipewire/CMakeLists.txt b/host/platform/Linux/capture/pipewire/CMakeLists.txt index cc088781..6688a407 100644 --- a/host/platform/Linux/capture/pipewire/CMakeLists.txt +++ b/host/platform/Linux/capture/pipewire/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(capture_pipewire LANGUAGES C) find_package(PkgConfig) diff --git a/host/platform/Windows/CMakeLists.txt b/host/platform/Windows/CMakeLists.txt index d4a07af1..5beedfa5 100644 --- a/host/platform/Windows/CMakeLists.txt +++ b/host/platform/Windows/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(platform_Windows LANGUAGES C) include_directories( diff --git a/host/platform/Windows/capture/CMakeLists.txt b/host/platform/Windows/capture/CMakeLists.txt index 91b94d74..535802d4 100644 --- a/host/platform/Windows/capture/CMakeLists.txt +++ b/host/platform/Windows/capture/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(capture LANGUAGES C) include(PreCapture) diff --git a/host/platform/Windows/capture/DXGI/CMakeLists.txt b/host/platform/Windows/capture/DXGI/CMakeLists.txt index 9da021e8..f7d3c857 100644 --- a/host/platform/Windows/capture/DXGI/CMakeLists.txt +++ b/host/platform/Windows/capture/DXGI/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(capture_DXGI LANGUAGES C) add_library(capture_DXGI STATIC diff --git a/host/platform/Windows/capture/NVFBC/CMakeLists.txt b/host/platform/Windows/capture/NVFBC/CMakeLists.txt index 4b68bdec..bf16b2ff 100644 --- a/host/platform/Windows/capture/NVFBC/CMakeLists.txt +++ b/host/platform/Windows/capture/NVFBC/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(capture_NVFBC LANGUAGES C CXX) add_library(capture_NVFBC STATIC diff --git a/obs/CMakeLists.txt b/obs/CMakeLists.txt index 0491e65f..d905b799 100644 --- a/obs/CMakeLists.txt +++ b/obs/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(looking-glass-obs C) get_filename_component(PROJECT_TOP "${PROJECT_SOURCE_DIR}/.." ABSOLUTE)