1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-24 04:57:45 +00:00

Add library workarounds for Arch Linux

This commit is contained in:
Joshua Goins 2023-09-25 21:57:55 -04:00
parent 23442d0c9e
commit 42f099f8ad
2 changed files with 4 additions and 1 deletions

View file

@ -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(KF5 ${KF_MIN_VERSION} REQUIRED COMPONENTS Config XmlGui)
find_package(Vulkan REQUIRED) find_package(Vulkan REQUIRED)
find_package(glm REQUIRED) find_package(glm REQUIRED)
if (NOT TARGET glm::glm)
add_library(glm::glm ALIAS glm)
endif()
add_subdirectory(extern) add_subdirectory(extern)

View file

@ -4,5 +4,5 @@
add_executable(sdklauncher add_executable(sdklauncher
src/main.cpp src/main.cpp
src/mainwindow.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) target_include_directories(sdklauncher PUBLIC include)