hyprland-plugins/csgo-vulkan-fix/CMakeLists.txt
Mihai Fufezan d716d12213 treewide: add CMake files
- Nix: switch everything to CMake
- simplify overlay
2024-05-05 16:36:13 +03:00

27 lines
532 B
CMake

cmake_minimum_required(VERSION 3.27)
project(csgo-vulkan-fix
DESCRIPTION "csgo-vulkan-fix plugin for Hyprland"
VERSION 0.1
)
set(CMAKE_CXX_STANDARD 23)
file(GLOB_RECURSE SRC "*.cpp")
add_library(csgo-vulkan-fix SHARED ${SRC})
find_package(PkgConfig REQUIRED)
pkg_check_modules(deps REQUIRED IMPORTED_TARGET
hyprland
libdrm
libinput
libudev
pangocairo
pixman-1
wayland-server
xkbcommon
)
target_link_libraries(csgo-vulkan-fix PRIVATE rt PkgConfig::deps)
install(TARGETS csgo-vulkan-fix)