]> git.sesse.net Git - kdenlive/blobdiff - CMakeLists.txt
Getting ready for 0.8.2
[kdenlive] / CMakeLists.txt
index 726b1ebb7473c62e0ba656b40b14a4289f9af9f2..866a5382eccde7b2765880f4a8859a8d3c54d06a 100644 (file)
@@ -1,9 +1,9 @@
 project(kdenlive)
 
-set(BASE_VERSION 0.81)
-set(LIBMLT_REQUIRED_VERSION 0.7)
+set(BASE_VERSION 0.8.2)
+set(LIBMLT_REQUIRED_VERSION 0.7.6)
 
-option(RELEASE_BUILD "Remove compilation date from program version (use for stable releases)" OFF)
+option(RELEASE_BUILD "Remove compilation date from program version (use for stable releases)" ON)
 set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
 
 # Search packages used by KDE.
@@ -14,13 +14,15 @@ 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 QtOpenGL QtScript REQUIRED)
+
 add_definitions(${QT_DEFINITIONS})
 
 # Search MLT package.
@@ -67,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)