Skip to content

Commit

Permalink
Create symlink in INSTALL_DIR/share
Browse files Browse the repository at this point in the history
  • Loading branch information
fuhlig1 authored and MohammadAlTurany committed Nov 7, 2018
1 parent 9b706bc commit cb11e5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmake/Geant3BuildProject.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ if(Geant3_INSTALL_DATA)
${PROJECT_SOURCE_DIR}/data
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/Geant3-${Geant3_VERSION}
)
INSTALL(CODE "execute_process( \
COMMAND ${CMAKE_COMMAND} -E create_symlink \
${CMAKE_INSTALL_PREFIX}/share/Geant3-${Geant3_VERSION} \
${CMAKE_INSTALL_PREFIX}/share/geant3 \
)"
)
endif()

#
Expand Down

0 comments on commit cb11e5e

Please sign in to comment.