"Fossies" - the Fresh Open Source Software Archive

Member "darktable-2.6.3/src/chart/CMakeLists.txt" (20 Oct 2019, 1269 Bytes) of package /linux/misc/darktable-2.6.3.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "CMakeLists.txt": 2.6.3_vs_3.0.0.rc0.

    1 include_directories(${CMAKE_CURRENT_BINARY_DIR}/..)
    2 add_executable(darktable-chart main.c colorchart.c deltaE.c pfm.c cairo.c common.c thinplate.c tonecurve.c)
    3 
    4 target_link_libraries(darktable-chart ${LCMS2_LIBRARIES})
    5 add_definitions(${LCMS2_DEFINITIONS})
    6 
    7 target_link_libraries(darktable-chart ${GTK3_LIBRARIES})
    8 add_definitions(${GTK3_DEFINITIONS})
    9 
   10 target_link_libraries(darktable-chart "-lm")
   11 
   12 target_link_libraries(darktable-chart lib_darktable)
   13 
   14 set_target_properties(darktable-chart PROPERTIES LINKER_LANGUAGE C)
   15 
   16 if (WIN32)
   17   set_target_properties(darktable-chart PROPERTIES LINK_FLAGS "-mwindows -Wl,-subsystem,windows")
   18   _detach_debuginfo (darktable-chart bin)
   19 else()
   20     # Note that $ORIGIN is not a variable but has a special meaning at runtime.
   21     # The string "$ORIGIN" should end up in the executable as-is.
   22     set(RPATH_DT "$ORIGIN")
   23     if (APPLE)
   24         # The string "@loader_path" should end up in the executable as-is.
   25         set(RPATH_DT "@loader_path")
   26     endif()
   27     set_target_properties(darktable-chart
   28                           PROPERTIES
   29                           INSTALL_RPATH ${RPATH_DT}/../${CMAKE_INSTALL_LIBDIR}/darktable)
   30 endif(WIN32)
   31 
   32 install(TARGETS darktable-chart DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT DTApplication)