Add project entry to libversion CMAKE

This commit is contained in:
Mario Hüttel 2019-09-18 20:40:16 +02:00
parent 5ec7832ac4
commit 0dc91c14de

View File

@ -1,3 +1,4 @@
project(libversion)
add_library(version STATIC "version.c")
execute_process(COMMAND bash ./generate-version-string.sh
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}