Sophie

Sophie

distrib > Mandriva > 2010.2 > x86_64 > by-pkgid > 58787e609d067a31bdc8838cc5d06b19 > files > 3

mscore-0.9.5-2mdv2010.1.src.rpm

--- awl/CMakeLists.txt	2009-08-12 15:28:01.000000000 +0200
+++ awl/CMakeLists.txt.orig	2009-12-25 10:56:54.000000000 +0100
@@ -18,10 +18,6 @@
 #  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 #=============================================================================
 
-set(CMAKE_CXX_FLAGS         "-g -Wall -Wextra -Winvalid-pch -fno-exceptions -fno-rtti")
-set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DQT_NO_DEBUG")
-set(CMAKE_CXX_FLAGS_DEBUG   "-DQT_DEBUG")
-
 QT4_WRAP_CPP (mocs
       aslider.h
       knob.h
@@ -99,7 +95,7 @@
       )
 
 ##  "-D_GNU_SOURCE -D_REENTRANT -DHAVE_CONFIG_H -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG -include ${PROJECT_SOURCE_DIR}/all.h"
-
+TARGET_LINK_LIBRARIES( awlplugin ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} )
 set_target_properties( awlplugin
       PROPERTIES
          COMPILE_FLAGS
--- scriptgen/qtbindings/core/CMakeLists.txt	2009-08-12 15:28:30.000000000 +0200
+++ scriptgen/qtbindings/core/CMakeLists.txt.orig	2009-12-25 11:00:24.000000000 +0100
@@ -148,6 +148,8 @@
       qtscript_QMimeData.cpp
       qtscript_QModelIndex.cpp
       )
+target_link_libraries(qtscript_core
+	${QT_QTSCRIPT_LIBRARY} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
 
 set_target_properties(qtscript_core
       PROPERTIES
--- scriptgen/qtbindings/xml/CMakeLists.txt	2009-08-12 15:28:22.000000000 +0200
+++ scriptgen/qtbindings/xml/CMakeLists.txt.orig	2009-12-25 11:04:05.000000000 +0100
@@ -82,6 +82,9 @@
       qtscriptshell_QXmlSimpleReader.cpp
       )
 
+target_link_libraries(qtscript_xml
+	${QT_QTSCRIPT_LIBRARY} ${QT_QTCORE_LIBRARY} ${QT_QTXML_LIBRARY})
+
 set_target_properties(qtscript_xml
       PROPERTIES
       COMPILE_FLAGS
--- scriptgen/qtbindings/gui/CMakeLists.txt	2009-08-12 15:28:29.000000000 +0200
+++ scriptgen/qtbindings/gui/CMakeLists.txt.orig	2009-12-25 11:08:50.000000000 +0100
@@ -611,6 +611,9 @@
       LINK_FLAGS "-L${QT_LIBRARY_DIR}"
       )
 
+target_link_libraries(qtscript_gui
+	${QT_QTSCRIPT_LIBRARY} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
+
 if (STATIC_SCRIPT_BINDINGS)
 else (STATIC_SCRIPT_BINDINGS)
    if (MINGW)
--- scriptgen/qtbindings/network/CMakeLists.txt	2009-08-12 15:28:31.000000000 +0200
+++ scriptgen/qtbindings/network/CMakeLists.txt.orig	2009-12-25 11:10:51.000000000 +0100
@@ -97,6 +97,9 @@
       qtscript_QAbstractNetworkCache.cpp
       )
 
+target_link_libraries(qtscript_network
+       ${QT_QTSCRIPT_LIBRARY} ${QT_QTCORE_LIBRARY} ${QT_QTNETWORK_LIBRARY})
+
 set_target_properties(
       qtscript_network
       PROPERTIES