mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-27 17:55:24 +03:00
b2e5a80e2f
This reduces the compilation time and is consistent with the meson version.
17 lines
360 B
CMake
17 lines
360 B
CMake
cmake_minimum_required(VERSION 3.19)
|
|
|
|
project(
|
|
hyprpm
|
|
DESCRIPTION "A Hyprland Plugin Manager"
|
|
)
|
|
|
|
file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp")
|
|
|
|
set(CMAKE_CXX_STANDARD 23)
|
|
|
|
pkg_check_modules(tomlplusplus REQUIRED IMPORTED_TARGET tomlplusplus)
|
|
|
|
add_executable(hyprpm ${SRCFILES})
|
|
|
|
target_link_libraries(hyprpm PUBLIC PkgConfig::tomlplusplus)
|