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

cmake: Correctly set te build target for the modules and for vlc.

parent d5582a2e
......@@ -9,7 +9,7 @@ add_definitions(-DPLUGIN_PATH=\\"${CMAKE_INSTALL_PREFIX}/lib/vlc\\")
add_executable(vlc vlc.c)
target_link_libraries(vlc libvlc)
install_programs(/bin FILES vlc)
install_targets(/bin vlc)
# libvlc
......
......@@ -12,6 +12,7 @@ MACRO(vlc_add_module module_name)
if (VLC_${module_name}_LINK_LIBRARIES)
target_link_libraries( vlc_${module_name} ${VLC_${module_name}_LINK_LIBRARIES})
endif (VLC_${module_name}_LINK_LIBRARIES)
install_targets(/modules vlc_${module_name})
endif(ENABLE_VLC_MODULE_${module_name})
ENDMACRO(vlc_add_module)
......
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