summaryrefslogtreecommitdiff
path: root/indra/media_plugins
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-12-06 09:50:05 -0500
committerNat Goodspeed <nat@lindenlab.com>2016-12-06 09:50:05 -0500
commite6b9174bba29b6fcbb611280f7bfd06c40d3193e (patch)
tree98d43b799a269a5e0a82af211325d220ca856962 /indra/media_plugins
parente9a9e3d4bafab0e40a8ed3a65dfd4474ab7bb938 (diff)
DRTVWR-418: Try to clean up numerous CMake CMP0046 warnings.
Diffstat (limited to 'indra/media_plugins')
-rw-r--r--indra/media_plugins/libvlc/CMakeLists.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/indra/media_plugins/libvlc/CMakeLists.txt b/indra/media_plugins/libvlc/CMakeLists.txt
index 32574c7afa..72159f9f69 100644
--- a/indra/media_plugins/libvlc/CMakeLists.txt
+++ b/indra/media_plugins/libvlc/CMakeLists.txt
@@ -61,7 +61,17 @@ target_link_libraries(media_plugin_libvlc
add_dependencies(media_plugin_libvlc
${LLPLUGIN_LIBRARIES}
${MEDIA_PLUGIN_BASE_LIBRARIES}
- ${LLCOMMON_LIBRARIES}
+##${LLCOMMON_LIBRARIES}
+ # Just say 'llcommon' here. LLCOMMON_LIBRARIES is specified for use in
+ # target_link_libraries: it includes several Boost libraries, which are
+ # absolutely NOT dependencies in the sense intended here. Those Boost
+ # library macros, in turn, specify 'debug' and 'optimized' and a different
+ # library name for each, producing several wordy errors:
+ # Policy CMP0046 is not set: Error on non-existent dependency in
+ # add_dependencies.
+ # Really, the only dependency we should mention from LLCOMMON_LIBRARIES is
+ # llcommon itself.
+ llcommon
)
if (WINDOWS)