Merge with dev
This commit is contained in:
@@ -122,6 +122,8 @@ set(NONCLISOURCEFILES
|
||||
rgbcurves.cc
|
||||
rotate.cc
|
||||
rtimage.cc
|
||||
rtsurface.cc
|
||||
rtscalable.cc
|
||||
rtwindow.cc
|
||||
saveasdlg.cc
|
||||
saveformatpanel.cc
|
||||
@@ -182,6 +184,7 @@ if(WIN32)
|
||||
${GTKMM_INCLUDE_DIRS}
|
||||
${GTK_INCLUDE_DIRS}
|
||||
${LENSFUN_INCLUDE_DIRS}
|
||||
${RSVG_INCLUDE_DIRS}
|
||||
)
|
||||
link_directories(. "${PROJECT_SOURCE_DIR}/rtexif"
|
||||
${EXTRA_LIBDIR}
|
||||
@@ -192,6 +195,7 @@ if(WIN32)
|
||||
${GTKMM_LIBRARY_DIRS}
|
||||
${GTK_LIBRARY_DIRS}
|
||||
${LENSFUN_LIBRARY_DIRS}
|
||||
${RSVG_LIBRARY_DIRS}
|
||||
)
|
||||
else()
|
||||
include_directories(${EXTRA_INCDIR}
|
||||
@@ -209,6 +213,7 @@ else()
|
||||
${IPTCDATA_INCLUDE_DIRS}
|
||||
${LCMS_INCLUDE_DIRS}
|
||||
${LENSFUN_INCLUDE_DIRS}
|
||||
${RSVG_INCLUDE_DIRS}
|
||||
)
|
||||
link_directories(${EXTRA_LIBDIR}
|
||||
${CANBERRA-GTK_LIBRARY_DIRS}
|
||||
@@ -225,6 +230,7 @@ else()
|
||||
${IPTCDATA_LIBRARY_DIRS}
|
||||
${LCMS_LIBRARY_DIRS}
|
||||
${LENSFUN_LIBRARY_DIRS}
|
||||
${RSVG_LIBRARY_DIRS}
|
||||
)
|
||||
endif()
|
||||
|
||||
@@ -243,6 +249,10 @@ add_executable(rth-cli ${EXTRA_SRC_CLI} ${CLISOURCEFILES})
|
||||
add_dependencies(rth UpdateInfo)
|
||||
add_dependencies(rth-cli UpdateInfo)
|
||||
|
||||
#Define a target specific definition to use in code
|
||||
target_compile_definitions(rth PUBLIC GUIVERSION)
|
||||
target_compile_definitions(rth-cli PUBLIC CLIVERSION)
|
||||
|
||||
# Set executables targets properties, i.e. output filename and compile flags
|
||||
# for "Debug" builds, open a console in all cases for Windows version
|
||||
if((WIN32) AND NOT(UPPER_CMAKE_BUILD_TYPE STREQUAL "DEBUG"))
|
||||
@@ -272,6 +282,7 @@ target_link_libraries(rth rtengine
|
||||
${TIFF_LIBRARIES}
|
||||
${ZLIB_LIBRARIES}
|
||||
${LENSFUN_LIBRARIES}
|
||||
${RSVG_LIBRARIES}
|
||||
)
|
||||
|
||||
target_link_libraries(rth-cli rtengine
|
||||
@@ -292,6 +303,7 @@ target_link_libraries(rth-cli rtengine
|
||||
${TIFF_LIBRARIES}
|
||||
${ZLIB_LIBRARIES}
|
||||
${LENSFUN_LIBRARIES}
|
||||
${RSVG_LIBRARIES}
|
||||
)
|
||||
|
||||
# Install executables
|
||||
|
Reference in New Issue
Block a user