[Kdenlive-devel] [PATCH] deprecate mlt-config usage
Dan Dennedy
dan at dennedy.org
Mon Oct 20 17:58:17 UTC 2008
I am deprecating mlt-config at the request of packagers (something
called multilib support in Fedora packaging came up). Please use
pkg-config:
Index: cmake/modules/FindLIBMLT.cmake
===================================================================
--- cmake/modules/FindLIBMLT.cmake (revision 2517)
+++ cmake/modules/FindLIBMLT.cmake (working copy)
@@ -2,9 +2,9 @@
# Find the MLT includes and library
#
-FIND_PROGRAM(MLT_CONFIG_EXECUTABLE mlt-config)
-EXEC_PROGRAM(${MLT_CONFIG_EXECUTABLE} ARGS --prefix OUTPUT_VARIABLE MLT_PATH )
-MESSAGE(STATUS "Found MLT INSTALL PATH: ${MLT_CONFIG_EXECUTABLE} ,
${MLT_PATH}")
+FIND_PROGRAM(MLT_CONFIG_EXECUTABLE pkg-config)
+EXEC_PROGRAM(${MLT_CONFIG_EXECUTABLE} ARGS --variable=prefix
mlt-framework OUTPUT_VARIABLE MLT_PATH )
+MESSAGE(STATUS "Found MLT INSTALL PATH: ${MLT_PATH}")
SET(CMAKE_CXX_FLAGS -DMLT_PREFIX=\\\"\"${MLT_PATH}\"\\\")
FIND_PATH(LIBMLT_INCLUDE_DIR
--
+-DRD-+
More information about the Kdenlive
mailing list