From 081f071ac11ab6ebaee1f7a2367fa1f9ecad784a Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 15 Oct 2022 17:31:39 +0200 Subject: Added version file to build artifacts to support automatic deployment --- Starshatter/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Starshatter/CMakeLists.txt') diff --git a/Starshatter/CMakeLists.txt b/Starshatter/CMakeLists.txt index 9623f9a..2501825 100644 --- a/Starshatter/CMakeLists.txt +++ b/Starshatter/CMakeLists.txt @@ -1,5 +1,4 @@ project(Starshatter) -include(GitDescribe) include(GitToResource) add_executable( Starshatter WIN32 @@ -13,8 +12,7 @@ target_link_libraries( Starshatter PRIVATE StarsEx ) -git_describe(VERSION) -git_to_resource(RC_VERSION ${VERSION}) +git_to_resource(RC_VERSION ${STARSHATTER_VERSION}) configure_file(Starshatter.rc.conf ${CMAKE_CURRENT_BINARY_DIR}/Starshatter.rc @ONLY) target_sources( Starshatter -- cgit v1.1