[rkward-cvs] SF.net SVN: rkward:[3911] trunk/rkward/rkward/rbackend/CMakeLists.txt

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sat Oct 8 12:48:53 UTC 2011


Revision: 3911
          http://rkward.svn.sourceforge.net/rkward/?rev=3911&view=rev
Author:   tfry
Date:     2011-10-08 12:48:53 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
Properly link against gettext (if required)

Modified Paths:
--------------
    trunk/rkward/rkward/rbackend/CMakeLists.txt

Modified: trunk/rkward/rkward/rbackend/CMakeLists.txt
===================================================================
--- trunk/rkward/rkward/rbackend/CMakeLists.txt	2011-10-08 12:29:55 UTC (rev 3910)
+++ trunk/rkward/rkward/rbackend/CMakeLists.txt	2011-10-08 12:48:53 UTC (rev 3911)
@@ -59,7 +59,8 @@
 	ADD_DEFINITIONS (-DRKWARD_SPLIT_PROCESS)
 	LINK_DIRECTORIES(${R_SHAREDLIBDIR})
 	ADD_EXECUTABLE(rkward.rbackend ${rbackend_BACKEND_SRCS})
-	TARGET_LINK_LIBRARIES(rkward.rbackend ${R_USED_LIBS} ${CMAKE_THREAD_LIBS_INIT} ${QT_QTNETWORK_LIBRARY} ${QT_QTCORE_LIBRARY})
+	FIND_PACKAGE(Gettext REQUIRED)
+	TARGET_LINK_LIBRARIES(rkward.rbackend ${R_USED_LIBS} ${CMAKE_THREAD_LIBS_INIT} ${QT_QTNETWORK_LIBRARY} ${QT_QTCORE_LIBRARY} ${GETTEXT_LIBRARIES})
 	INSTALL(TARGETS rkward.rbackend DESTINATION ${LIBEXEC_INSTALL_DIR})
 ELSE(RBACKEND_SPLIT)
 	SET (

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the rkward-tracker mailing list