diff options
author | MaroonSkull <[email protected]> | 2024-08-03 14:10:48 +0300 |
---|---|---|
committer | Mihai Fufezan <[email protected]> | 2024-08-04 12:10:50 +0300 |
commit | 4ae89e1f227d8b19afe8c692033ab894e053c7ec (patch) | |
tree | f683170ac0340dffe985f7c7f1fcec64ee06e86e /CMakeLists.txt | |
parent | 51ffd7fa6f186419276e5d3d5fe141a3fdb3c55c (diff) | |
download | Hyprland-4ae89e1f227d8b19afe8c692033ab894e053c7ec.tar.gz Hyprland-4ae89e1f227d8b19afe8c692033ab894e053c7ec.zip |
CMake: Suppress CMake warning about GNUInstallDirs
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3616da24..e284cb68 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,5 @@ cmake_minimum_required(VERSION 3.27) -include(CheckIncludeFile) -include(GNUInstallDirs) - # Get version file(READ "${CMAKE_SOURCE_DIR}/VERSION" VER_RAW) string(STRIP ${VER_RAW} VER) @@ -12,6 +9,9 @@ project( DESCRIPTION "A Modern C++ Wayland Compositor" VERSION ${VER}) +include(CheckIncludeFile) +include(GNUInstallDirs) + set(HYPRLAND_VERSION ${VER}) set(PREFIX ${CMAKE_INSTALL_PREFIX}) set(INCLUDEDIR ${CMAKE_INSTALL_INCLUDEDIR}) |