View | Details | Raw Unified | Return to problem 1341
Collapse All | Expand All

(-)cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake (-4 / +6 lines)
Lines 617-627 Link Here
617
    PATTERN "scripts/" EXCLUDE
617
    PATTERN "scripts/" EXCLUDE
618
)
618
)
619
619
620
# compatibility softlink to library directory
620
# Compatibility softlink to library directory, we do this on all
621
# NB This won't work on Windows, but shouldn't fail either.
621
# platforms, but it does nothing on Windows (well, at least the
622
install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E make_directory \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/Geant4-${Geant4_VERSION})")
622
# attempted symlink creation does not)
623
# Take care to quote the path names to avoid issues with spaces
624
install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E make_directory \"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/Geant4-${Geant4_VERSION}\")")
623
625
624
install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink .. ${GEANT4_SYSTEM}-${GEANT4_COMPILER} WORKING_DIRECTORY \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/Geant4-${Geant4_VERSION})")
626
install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink .. ${GEANT4_SYSTEM}-${GEANT4_COMPILER} WORKING_DIRECTORY \"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/Geant4-${Geant4_VERSION}\")")
625
627
626
628
627
629

Return to problem 1341