From 42f099f8ad491dde408086221092f429d2665824 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 25 Sep 2023 21:57:55 -0400 Subject: [PATCH] Add library workarounds for Arch Linux --- CMakeLists.txt | 3 +++ sdklauncher/CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 32dc45e..06e953f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,6 +39,9 @@ find_package(Qt5 ${QT_MIN_VERSION} COMPONENTS Core Widgets Concurrent CONFIG REQ find_package(KF5 ${KF_MIN_VERSION} REQUIRED COMPONENTS Config XmlGui) find_package(Vulkan REQUIRED) find_package(glm REQUIRED) +if (NOT TARGET glm::glm) + add_library(glm::glm ALIAS glm) +endif() add_subdirectory(extern) diff --git a/sdklauncher/CMakeLists.txt b/sdklauncher/CMakeLists.txt index b06949d..6396b32 100644 --- a/sdklauncher/CMakeLists.txt +++ b/sdklauncher/CMakeLists.txt @@ -4,5 +4,5 @@ add_executable(sdklauncher src/main.cpp src/mainwindow.cpp) -target_link_libraries(sdklauncher PUBLIC Qt5::Widgets KF5::ConfigCore physis) +target_link_libraries(sdklauncher PUBLIC Qt5::Widgets KF5::ConfigCore physis z) target_include_directories(sdklauncher PUBLIC include)