]> git.sesse.net Git - kdenlive/commitdiff
Fix compilation with QtScript introduction:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 28 Jun 2011 20:17:48 +0000 (20:17 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 28 Jun 2011 20:17:48 +0000 (20:17 +0000)
http://kdenlive.org/mantis/view.php?id=2197

svn path=/trunk/kdenlive/; revision=5744

CMakeLists.txt
src/CMakeLists.txt

index 5fbc0191625d429f8136f7b91a4900753353fb10..256a653420f312ecce49938d6eb597c80ecc21c1 100644 (file)
@@ -21,6 +21,9 @@ else ( NOT QT_QTOPENGL_FOUND )
   message(-- " Found QtOpenGL.")
 endif ( NOT QT_QTOPENGL_FOUND )
 find_library(Qt COMPONENTS QtOpenGL REQUIRED)
+
+find_library(Qt COMPONENTS QtScript REQUIRED)
+
 add_definitions(${QT_DEFINITIONS})
 
 # Search MLT package.
index 7c5be43639bd01d2595a3fb15fe59a8be69bcb58..07b1f344cf430a497ab07bc55aafeb241e7fbe65 100644 (file)
@@ -333,6 +333,7 @@ target_link_libraries(kdenlive
   ${KDE4_KROSSUI_LIBS}
   ${CMAKE_DL_LIBS}
   ${CMAKE_THREAD_LIBS_INIT}
+  ${QT_QTSCRIPT_LIBRARY}
 )
 
 if(Q_WS_X11)