Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
c31b8228
Commit
c31b8228
authored
Feb 05, 2008
by
Pierre d'Herbemont
Browse files
cmake: Correctly set te build target for the modules and for vlc.
parent
d5582a2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
View file @
c31b8228
...
...
@@ -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
...
...
extras/buildsystem/cmake/include/vlc_module_funcs.cmake
View file @
c31b8228
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment