Revision: 7423
Author:   nogu.dev
Date:     Sun Jan 22 06:34:02 2012
Log:      * qt4/toolbar/CMakeLists.txt
  - Remove "-Wconversion" from CXXFLAGS to avoid lots of warnings
    from Qt4 header files.
http://code.google.com/p/uim/source/detail?r=7423

Modified:
 /trunk/qt4/toolbar/CMakeLists.txt

=======================================
--- /trunk/qt4/toolbar/CMakeLists.txt   Tue May 10 07:34:55 2011
+++ /trunk/qt4/toolbar/CMakeLists.txt   Sun Jan 22 06:34:02 2012
@@ -13,6 +13,11 @@
         common-quimhelpertoolbar.cpp
         common-uimstateindicator.cpp
         applet-kde4.cpp)
+
+# Remove "-Wconversion" from CXXFLAGS to avoid lots of warnings
+# from Qt4 header files
+string(REGEX REPLACE "-Wconversion" ""
+        CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")

 kde4_add_plugin(plasma_applet_uim ${uim_SRCS})
target_link_libraries(plasma_applet_uim ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS}

Reply via email to