cmake: added library version information to the targets.
This commit is contained in:
6
src/external/mud/src/CMakeLists.txt
vendored
6
src/external/mud/src/CMakeLists.txt
vendored
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user