Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > d401ee85844555fea026e69f422bf276 > files > 6

qtoctave-0.8.2-2mdv2010.1.src.rpm

Use a different signature of the INSTALL command, so installation works also
for an out-out-source build

This patch was forwarded upstream.

 -- Thomas Weber <thomas.weber.mail@gmail.com> Sun, 04 Oct 2009 15:13:35 +0200

--- a/easy_plot/src/CMakeLists.txt
+++ b/easy_plot/src/CMakeLists.txt
@@ -42,6 +42,7 @@
 TARGET_LINK_LIBRARIES(easy_plot ${Qt4_LIBRARIES} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTSQL_LIBRARY} ${QT_QTSVG_LIBRARY})
 
 install	(
-		PROGRAMS easy_plot
+		TARGETS easy_plot
+		RUNTIME
 		DESTINATION bin
 	)
\ No newline at end of file