[vlmc-devel] CMakeLists: Use MLT

Yikai Lu git at videolan.org
Sun Jun 26 06:01:09 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Tue Jun 21 19:35:53 2016 +0900| [0e2893e2e1a222871b690f2b9707c5276463c172] | committer: Yikai Lu

CMakeLists: Use MLT

> https://code.videolan.org/videolan/vlmc/commit/0e2893e2e1a222871b690f2b9707c5276463c172
---

 src/CMakeLists.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 80db8a4..12d89e9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -32,6 +32,17 @@ list(APPEND VLMC_LIBS ${LIBVLC_LIBRARIES} vlccore)
 link_directories(${LIBVLC_LIBRARY_DIRS})
 INCLUDE_DIRECTORIES(${LIBVLC_INCLUDE_DIRS})
 
+# Find MLT Framework
+pkg_check_modules(MLT REQUIRED mlt-framework>=6.3.0)
+list(APPEND VLMC_LIBS ${MLT_LIBRARIES})
+link_directories(${MLT_LIBRARY_DIRS})
+INCLUDE_DIRECTORIES(${MLT_INCLUDE_DIRS})
+
+pkg_check_modules(MLTPP REQUIRED mlt++>=6.3.0)
+list(APPEND VLMC_LIBS ${MLTPP_LIBRARIES})
+link_directories(${MLTPP_LIBRARY_DIRS})
+INCLUDE_DIRECTORIES(${MLTPP_INCLUDE_DIRS})
+
 FIND_PACKAGE(frei0r REQUIRED)
 
 if(APPLE)



More information about the Vlmc-devel mailing list