internal: improve version query and define HYPRLAND_VERSION (#8034)

This commit is contained in:
Toni500github
2024-10-11 13:19:16 +02:00
committed by GitHub
parent 178a300eea
commit 7564b26b7d
6 changed files with 25 additions and 39 deletions

View File

@@ -71,6 +71,8 @@ else()
message(STATUS "Configuring Hyprland in Release with CMake")
endif()
add_compile_definitions(HYPRLAND_VERSION="${HYPRLAND_VERSION}")
include_directories(. "src/" "protocols/")
set(CMAKE_CXX_STANDARD 26)