Skip to content
Snippets Groups Projects
Commit c5da987f authored by Joseph Boudreau's avatar Joseph Boudreau
Browse files

version the libraries

parent 4ff485c2
No related branches found
No related tags found
No related merge requests found
Pipeline #1707703 passed
......@@ -35,6 +35,10 @@ target_include_directories( GeoMaterial2G4 PUBLIC
# Set installation of library headers
set_property( TARGET GeoMaterial2G4 PROPERTY PUBLIC_HEADER ${HEADERS} )
set_target_properties( GeoMaterial2G4 PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR} )
# new test GeoModelG4
install( TARGETS GeoMaterial2G4 EXPORT GeoMaterial2G4-export LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/GeoMaterial2G4 )
......@@ -67,6 +67,10 @@ set_property( TARGET GeoModel2G4 PROPERTY PUBLIC_HEADER ${HEADERS} )
# # Install a CMake description of the project/library.
# install( EXPORT GeoModel2G4Config DESTINATION cmake )
set_target_properties( GeoModel2G4 PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR} )
# new test GeoModelG4
install( TARGETS GeoModel2G4 EXPORT GeoModel2G4-export LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/GeoModel2G4 )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment