]> git.sesse.net Git - kdenlive/blobdiff - CMakeLists.txt
Fix crash when clicking the render button
[kdenlive] / CMakeLists.txt
index 256a653420f312ecce49938d6eb597c80ecc21c1..4ce59cca3174ef81d1ab8f31dcc27dd5a79df250 100644 (file)
@@ -1,7 +1,7 @@
 project(kdenlive)
 
 set(BASE_VERSION 0.8.1)
-set(LIBMLT_REQUIRED_VERSION 0.7)
+set(LIBMLT_REQUIRED_VERSION 0.7.4)
 
 option(RELEASE_BUILD "Remove compilation date from program version (use for stable releases)" OFF)
 set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
@@ -14,15 +14,14 @@ include(MacroLibrary)
 include(FindGettext)
 include(MacroOptionalAddSubdirectory)
 set(catalogname kdenlive)
-find_package(Qt COMPONENTS QtOpenGL)
+
+find_package(Qt4 COMPONENTS QtCore QtGui QtOpenGL QtScript REQUIRED)
 if ( NOT QT_QTOPENGL_FOUND )
   message(FATAL_ERROR "QtOpenGL (most likely called libqt4-opengl-dev) not found.")
 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)
+find_library(Qt COMPONENTS QtOpenGL QtScript REQUIRED)
 
 add_definitions(${QT_DEFINITIONS})
 
@@ -70,6 +69,7 @@ add_subdirectory(lumas)
 add_subdirectory(titles)
 add_subdirectory(po)
 add_subdirectory(man)
+add_subdirectory(doc)
 
 configure_file(${CMAKE_SOURCE_DIR}/kdenlive-config.h.cmake kdenlive-config.h @ONLY)