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

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sat Nov 20 07:20:54 UTC 2010


Revision: 3200
          http://rkward.svn.sourceforge.net/rkward/?rev=3200&view=rev
Author:   tfry
Date:     2010-11-20 07:20:54 +0000 (Sat, 20 Nov 2010)

Log Message:
-----------
Fix problem while linking backend

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

Modified: trunk/rkward/rkward/rbackend/CMakeLists.txt
===================================================================
--- trunk/rkward/rkward/rbackend/CMakeLists.txt	2010-11-19 22:09:00 UTC (rev 3199)
+++ trunk/rkward/rkward/rbackend/CMakeLists.txt	2010-11-20 07:20:54 UTC (rev 3200)
@@ -56,9 +56,9 @@
 	)
 	QT4_AUTOMOC(${rbackend_BACKEND_SRCS})
 	ADD_DEFINITIONS (-DRKWARD_SPLIT_PROCESS)
+	LINK_DIRECTORIES(${R_SHAREDLIBDIR})
 	KDE4_ADD_EXECUTABLE(rkward.rbackend ${rbackend_BACKEND_SRCS})
 	TARGET_LINK_LIBRARIES(rkward.rbackend ${R_USED_LIBS} ${CMAKE_THREAD_LIBS_INIT} ${KDE4_KDECORE_LIBS})
-	LINK_DIRECTORIES(${R_SHAREDLIBDIR})
 	INSTALL(TARGETS rkward.rbackend DESTINATION ${BIN_INSTALL_DIR})
 ELSE(RBACKEND_SPLIT)
 	SET (
@@ -69,7 +69,7 @@
 	)
 
 	QT4_AUTOMOC(${rbackend_ALL_SRCS})
+	LINK_DIRECTORIES(${R_SHAREDLIBDIR})
 	ADD_LIBRARY(rbackend STATIC ${rbackend_ALL_SRCS})
 	TARGET_LINK_LIBRARIES(rbackend ${R_USED_LIBS} ${CMAKE_THREAD_LIBS_INIT})
-	LINK_DIRECTORIES(${R_SHAREDLIBDIR})
 ENDIF(RBACKEND_SPLIT)


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