strip version string

This commit is contained in:
matcool 2022-10-11 17:38:01 -03:00
parent 5dda0a1e86
commit 09a9ebbced
No known key found for this signature in database
GPG key ID: BF58756086D7AB1C

View file

@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.21 FATAL_ERROR)
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build libraries static" FORCE)
file(READ VERSION GEODE_VERSION)
string(STRIP "${GEODE_VERSION}" GEODE_VERSION)
project(geode-sdk VERSION ${GEODE_VERSION} LANGUAGES CXX C)