Commit 79f389ae authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Always link plugins against libvlc.

parent 63eb6244
......@@ -3,10 +3,7 @@ include( ${CMAKE_SOURCE_DIR}/cmake/vlc_add_compile_flag.cmake )
MACRO(vlc_add_module module_name)
add_library( ${module_name}_plugin MODULE ${ARGN} )
# On win32 we need to have all the symbol resolved at link time
set(VLC_${module_name}_LINK_LIBRARIES "VLC_${module_name}_LINK_LIBRARIES libvlc")
set(VLC_${module_name}_LINK_LIBRARIES "VLC_${module_name}_LINK_LIBRARIES libvlc")
set_target_properties( ${module_name}_plugin PROPERTIES COMPILE_FLAGS
"-D__PLUGIN__ -DMODULE_NAME=${module_name} -DMODULE_NAME_IS_${module_name} -I${CMAKE_CURRENT_SOURCE_DIR} ${VLC_${module_name}_COMPILE_FLAG}" )
if (VLC_${module_name}_LINK_LIBRARIES)
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