Add VERSION and SOVERSION for the shared library in CMakeLists.txt file
This commit is contained in:
parent
0b55308f83
commit
f86038aa31
|
@ -254,6 +254,12 @@ ENDIF()
|
|||
|
||||
SET_TARGET_PROPERTIES(reactphysics3d PROPERTIES PUBLIC_HEADER "${REACTPHYSICS3D_HEADERS}")
|
||||
|
||||
# Version number and soname for the library
|
||||
SET_TARGET_PROPERTIES(reactphysics3d PROPERTIES
|
||||
VERSION "0.7.0"
|
||||
SOVERSION "0.7"
|
||||
)
|
||||
|
||||
# Install target
|
||||
INSTALL(TARGETS reactphysics3d
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
|
|
Loading…
Reference in New Issue
Block a user