Skip to content

Commit

Permalink
Re #5556. Remove install prefix from install destination path.
Browse files Browse the repository at this point in the history
It's not needed and prevents running cpack without being root.
  • Loading branch information
RussellTaylor committed Jul 2, 2012
1 parent 72d6db9 commit a6aa571
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Code/Mantid/Build/CMake/LinuxSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,8 @@ file ( WRITE ${CMAKE_CURRENT_BINARY_DIR}/rpm_remove_empty_install.sh "#!/bin/sh\
"fi\n"
)

# Note: On older versions of CMake, this line may mean that to do a "make package" without being root
# you will need to set the cache variable CPACK_SET_DESTDIR to ON.
install ( PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/mantid.sh ${CMAKE_CURRENT_BINARY_DIR}/mantid.csh
DESTINATION ${CMAKE_INSTALL_PREFIX}/${ETC_DIR}
DESTINATION ${ETC_DIR}
)

# unset all install/uninstall scripts
Expand Down

0 comments on commit a6aa571

Please sign in to comment.