Solving issue #540 (at last) : Complete integration to linux desktop

+ modification of CMakeLists.txt to let the developper chose the bundle installtion directory
This commit is contained in:
natureh
2011-07-14 18:48:56 +02:00
parent 9ab7b2da91
commit 706e4c3ea6
10 changed files with 46 additions and 1 deletions

View File

@@ -46,6 +46,8 @@ else (WIN32)
${GTK_LIBRARY_DIRS} ${GTKMM_LIBRARY_DIRS} ${GIO_LIBRARY_DIRS} ${GIOMM_LIBRARY_DIRS} ${IPTCDATA_LIBRARY_DIRS} ${LCMS_LIBRARY_DIRS} ${GTHREAD_LIBRARY_DIRS} ${GOBJECT_LIBRARY_DIRS})
endif (WIN32)
# create config.h which defines where data are stored
message (STATUS --- CMAKE_CURRENT_SOURCE_DIR = ${CMAKE_CURRENT_SOURCE_DIR})
message (STATUS --- CMAKE_CURRENT_BINARY_DIR = ${CMAKE_CURRENT_BINARY_DIR})
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
add_executable (rth ${EXTRA_SRC} ${BASESOURCEFILES})