Install rtstart into BINDIR (on UNIX). RawTherapee can be started from different dirs now. (closes issue 184)

This commit is contained in:
Ilia Popov
2010-09-03 11:07:49 +02:00
parent f4f77ffd2c
commit e1f277ae69
2 changed files with 7 additions and 3 deletions

View File

@@ -124,6 +124,10 @@ if (OPTION_OMP)
endif (OPENMP_FOUND)
endif (OPTION_OMP)
if (UNIX)
install (PROGRAMS rtstart DESTINATION ${BINDIR})
endif (UNIX)
add_subdirectory (rtexif)
add_subdirectory (rtengine)
add_subdirectory (rtgui)

View File

@@ -1,4 +1,4 @@
#!/bin/bash
export LD_LIBRARY_PATH=`dirname "$0"`
`dirname "$0"`/rt
RT_BINDIR=`dirname "$0"`
export LD_LIBRARY_PATH=${RT_BINDIR}
cd "${RT_BINDIR}" && ./rt