Add project entry to libversion CMAKE

This commit is contained in:
Mario Hüttel 2019-09-18 20:40:16 +02:00
parent 4db8593e5b
commit 8b1d3709b7

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}