cmake: Add qt4 resources. Enable qt4 plugin compilation with cmake's CVS. (known...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 23 Feb 2008 19:28:18 +0000 (19:28 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 23 Feb 2008 19:28:18 +0000 (19:28 +0000)
)

extras/buildsystem/cmake/CMakeLists/qt4_CMakeLists.txt

index f5f0d91..dc9566f 100644 (file)
@@ -43,7 +43,8 @@ if(QT4_FOUND)
     set(MOC_FLAGS "-DHAVE_CONFIG_H ${MOC_FLAGS}")
     vlc_qt4_generate_moc(qt4_MOCS ${MOC_FLAGS} ${qt4_HEADERS})
     vlc_qt4_wrap_ui(qt4_UIS_H ${qt4_UIS})
+    qt4_add_resources(qt4_SRCS vlc.qrc)
 endif(QT4_FOUND)
 
-vlc_add_module(qt4 ${qt4_SOURCES} ${qt4_MOCS} ${qt4_UIS})
+vlc_add_module(qt4 ${qt4_SOURCES} ${qt4_SRCS} ${qt4_MOCS} ${qt4_UIS})