X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=CMakeLists.txt;h=de88633b5650195160f19e955373e43cad6a5972;hb=8dd4d6bee4a7c249caadfc78de377dd488495b19;hp=27df197526f05e9a837c260f155d17d009e87110;hpb=6c74a57534cb16a553be26517d12cd633de35ca6;p=kdenlive diff --git a/CMakeLists.txt b/CMakeLists.txt index 27df1975..de88633b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,10 +2,10 @@ project(kdenlive) # An odd patch version number means development version, while an even one means # stable release. An additional number can be used for bugfix-only releases. -set(KDENLIVE_VERSION 0.8.3) +set(KDENLIVE_VERSION 0.9.5) # Minimum versions of main dependencies. -set(LIBMLT_MIN_VERSION 0.7.6) +set(LIBMLT_MIN_VERSION 0.8.6) set(QT_MIN_VERSION 4.5.0) set(KDE_MIN_VERSION 4.3.0) @@ -25,7 +25,16 @@ if(NOT RELEASE_BUILD) ${CMAKE_CURRENT_SOURCE_DIR} ARGS "describe --tags" OUTPUT_VARIABLE KDENLIVE_GIT_REVISION + RETURN_VALUE TAG_RESULT ) + # git describe --tags failed, for example it fails if repo was checked with depth=1 + if(NOT ${TAG_RESULT} EQUAL 0) + exec_program(${GIT_EXECUTABLE} + ${CMAKE_CURRENT_SOURCE_DIR} + ARGS "describe --always" + OUTPUT_VARIABLE KDENLIVE_GIT_REVISION + ) + endif(NOT ${TAG_RESULT} EQUAL 0) message("Current Kdenlive Git revision is ${KDENLIVE_GIT_REVISION}") set(VERSION "\"${KDENLIVE_VERSION} (rev. ${KDENLIVE_GIT_REVISION})\"") else(GIT_FOUND) @@ -79,6 +88,7 @@ add_subdirectory(renderer) add_subdirectory(src) add_subdirectory(thumbnailer) add_subdirectory(titles) +add_subdirectory(testingArea) macro_display_feature_log()