[BACK]Return to patch-rtgui_CMakeLists_txt CVS log [TXT][DIR] Up to [local] / ports / graphics / rawtherapee / patches

File: [local] / ports / graphics / rawtherapee / patches / Attic / patch-rtgui_CMakeLists_txt (download)

Revision 1.1, Sat Oct 29 23:48:29 2011 UTC (12 years, 8 months ago) by yason
Branch: MAIN
CVS Tags: rawtherapee-4_0_5, rawtherapee-4_0_2

make it build and clean Makefile

$OpenBSD$
--- rtgui/CMakeLists.txt.orig	Fri Oct 28 17:41:24 2011
+++ rtgui/CMakeLists.txt	Fri Oct 28 17:38:25 2011
@@ -54,7 +54,7 @@ add_executable (rth ${EXTRA_SRC} ${BASESOURCEFILES})
 set_target_properties (rth PROPERTIES COMPILE_FLAGS "${CMAKE_CXX_FLAGS}" OUTPUT_NAME rawtherapee)
 #target_link_libraries (rth rtengine ${JPEG_LIBRARIES} ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} ${TIFF_LIBRARIES} ${EXTRA_LIB} ${GOBJECT_LIBRARIES} ${GTHREAD_LIBRARIES}
 #   ${GLIB2_LIBRARIES} ${GLIBMM_LIBRARIES} ${GTK_LIBRARIES} ${GTKMM_LIBRARIES} ${GIO_LIBRARIES} ${GIOMM_LIBRARIES} ${LCMS_LIBRARIES} ${IPTCDATA_LIBRARIES})
-target_link_libraries (rth rtengine ${JPEG_LIBRARIES} ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} ${TIFF_LIBRARIES} ${GOBJECT_LIBRARIES} ${GTHREAD_LIBRARIES}
+target_link_libraries (rth rtengine -pthread ${JPEG_LIBRARIES} ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} ${TIFF_LIBRARIES} ${GOBJECT_LIBRARIES} ${GTHREAD_LIBRARIES}
    ${GLIB2_LIBRARIES} ${GLIBMM_LIBRARIES} ${GTK_LIBRARIES} ${GTKMM_LIBRARIES} ${GIO_LIBRARIES} ${GIOMM_LIBRARIES} ${LCMS_LIBRARIES} ${IPTCDATA_LIBRARIES} ${EXTRA_LIB_RTGUI})
 install (TARGETS rth DESTINATION ${BINDIR})