CMake, Meson, Nix: replace props.json with VERSION
This commit is contained in:
parent
faa157e162
commit
928d1dd38a
5 changed files with 6 additions and 9 deletions
|
|
@ -4,8 +4,8 @@ include(CheckIncludeFile)
|
|||
include(GNUInstallDirs)
|
||||
|
||||
# Get version
|
||||
file(READ ${CMAKE_CURRENT_SOURCE_DIR}/props.json PROPS)
|
||||
string(JSON VER GET ${PROPS} version)
|
||||
file(READ "${CMAKE_SOURCE_DIR}/VERSION" VER_RAW)
|
||||
string(STRIP ${VER_RAW} VER)
|
||||
|
||||
project(Hyprland
|
||||
DESCRIPTION "A Modern C++ Wayland Compositor"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue