X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=CMakeLists.txt;h=4ce59cca3174ef81d1ab8f31dcc27dd5a79df250;hb=2553030e55b9872509b433d0eb12b546fa33f7e3;hp=9171639969d1c9a4d1145a9987d8477f1ccda055;hpb=ab21a463930714848efb3a767f06123df1dd20d3;p=kdenlive diff --git a/CMakeLists.txt b/CMakeLists.txt index 91716399..4ce59cca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})