CMake: fix version path

This commit is contained in:
Mihai Fufezan 2024-07-18 20:33:36 +03:00
parent 4a1f262f37
commit 8907e8a64e
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg

View file

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.19) cmake_minimum_required(VERSION 3.19)
file(READ "${CMAKE_SOURCE_DIR}VERSION" VER_RAW) file(READ "${CMAKE_SOURCE_DIR}/VERSION" VER_RAW)
string(STRIP ${VER_RAW} VERSION) string(STRIP ${VER_RAW} VERSION)
project( project(