mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 16:05:58 +01:00
b2e5a80e2f
This reduces the compilation time and is consistent with the meson version.
16 lines
360 B
CMake
16 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)
|