Commit c4c80b6b authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

cmake: Include contrib.

parent b59b44ff
......@@ -11,6 +11,16 @@ include( ${CMAKE_SOURCE_DIR}/cmake/vlc_add_compile_flag.cmake )
include( ${CMAKE_SOURCE_DIR}/cmake/vlc_check_type.cmake )
include( ${CMAKE_SOURCE_DIR}/cmake/pkg_check_modules.cmake )
###########################################################
# Contribs
###########################################################
OPTION( ENABLE_CONTRIB "Attempt to use VLC contrib system to get the third-party libraries" ON )
if(ENABLE_CONTRIB)
add_definitions(-I${CMAKE_SOURCE_DIR}/extras/contrib/include)
add_definitions(-L${CMAKE_SOURCE_DIR}/extras/contrib/lib)
endif(ENABLE_CONTRIB)
###########################################################
# Headers checks
###########################################################
......
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