cmake: added library version information to the targets.

This commit is contained in:
2018-06-02 12:41:13 +02:00
parent f109281ba7
commit 99e8eb9769
18 changed files with 123 additions and 7 deletions

View File

@@ -20,6 +20,12 @@ add_library(mud SHARED
mud_tri_ti.c
)
#--- set target properties, e.g. version --------------------------------------
set_target_properties(mud
PROPERTIES
VERSION ${MUD_VERSION}
)
#--- install mud solib --------------------------------------------------------
install(TARGETS mud DESTINATION lib)