Commit 6c552156 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Add medialibrary dependency

parent 02179aac
...@@ -15,3 +15,14 @@ ExternalProject_Add( ...@@ -15,3 +15,14 @@ ExternalProject_Add(
BUILD_COMMAND make BUILD_COMMAND make
INSTALL_COMMAND make install INSTALL_COMMAND make install
) )
# Now find medialibrary
ExternalProject_Add(
medialibrary
PREFIX ${PREFIX}
UPDATE_COMMAND ""
GIT_REPOSITORY https://code.videolan.org/videolan/medialibrary.git
CONFIGURE_COMMAND <SOURCE_DIR>/bootstrap && <SOURCE_DIR>/configure --prefix=${PREFIX}/install --disable-tests
BUILD_COMMAND make
INSTALL_COMMAND make install
)
...@@ -286,6 +286,7 @@ ELSE(NOT WITH_GUI) ...@@ -286,6 +286,7 @@ ELSE(NOT WITH_GUI)
ENDIF( NOT WITH_GUI ) ENDIF( NOT WITH_GUI )
add_dependencies(vlmc libvlcpp) add_dependencies(vlmc libvlcpp)
add_dependencies(vlmc medialibrary)
message(STATUS "Contribs prefix: ${CONTRIBS_DIR}") message(STATUS "Contribs prefix: ${CONTRIBS_DIR}")
include_directories( ${CONTRIBS_DIR}/include ) include_directories( ${CONTRIBS_DIR}/include )
......
Markdown is supported
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