Commit 4f281ae2 authored by Mads Bondo Dydensborg's avatar Mads Bondo Dydensborg
Browse files

Patch from Dan Dennedy to fix compilation of trunk against newest mlt - this...

Patch from Dan Dennedy to fix compilation of trunk against newest mlt - this probably breaks building against old versions of mlt.

svn path=/trunk/kdenlive/; revision=2618
parent e7ba4d0e
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment