File: PostInstall.cmake

package info (click to toggle)
salmon 0.7.2%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,352 kB
  • ctags: 5,243
  • sloc: cpp: 42,341; ansic: 6,252; python: 228; makefile: 207; sh: 190
file content (19 lines) | stat: -rw-r--r-- 1,070 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
##
# Print some post install messages for the user
##
message("\n\n")
message("Installation complete. Please ensure the following paths are set properly.")	
message("==========================================================================")
#if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
#	message("Fixing library names with install_name_tool")
#	execute_process(COMMAND install_name_tool -add_rpath ${CMAKE_INSTALL_PREFIX}/bin ${CMAKE_INSTALL_PREFIX}/bin/salmon)
#	execute_process(COMMAND install_name_tool -add_rpath ${CMAKE_INSTALL_PREFIX}/lib ${CMAKE_INSTALL_PREFIX}/bin/salmon)
#	execute_process(COMMAND install_name_tool -add_rpath @executable_path ${CMAKE_INSTALL_PREFIX}/bin/salmon) 
#endif()
message("Please add ${CMAKE_INSTALL_PREFIX}/bin to your PATH")
if ("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
	message("Please add ${CMAKE_INSTALL_PREFIX}/lib to your DYLD_FALLBACK_LIBRARY_PATH")
else()
	message("Please add ${CMAKE_INSTALL_PREFIX}/lib to your LD_LIBRARY_PATH")
endif()
message("==========================================================================")