[CMake] Remove add_dependency entries for items listed in target_link_libraries. Superfluous. (Alchemy sync)

Fixes Linux build errors.
This commit is contained in:
Router Gray
2019-12-20 17:28:16 -06:00
parent c68e00730e
commit cdc35b3c32
8 changed files with 7 additions and 39 deletions

View File

@@ -2,6 +2,7 @@
project(media_plugin_cef)
include(Boost)
include(00-Common)
include(LLCommon)
include(LLImage)
@@ -14,6 +15,7 @@ include(PluginAPI)
include(MediaPluginBase)
include(OpenGL)
include(PulseAudio)
include(UI)
include(CEFPlugin)
@@ -46,11 +48,10 @@ set(media_plugin_cef_HEADER_FILES
set (media_plugin_cef_LINK_LIBRARIES
${LLPLUGIN_LIBRARIES}
${MEDIA_PLUGIN_BASE_LIBRARIES}
${LLCOMMON_LIBRARIES}
${CEF_PLUGIN_LIBRARIES}
${LLCOMMON_LIBRARIES}
${PLUGIN_API_WINDOWS_LIBRARIES})
# Select which VolumeCatcher implementation to use
if (LINUX)
if (PULSEAUDIO_FOUND)
@@ -83,12 +84,6 @@ add_library(media_plugin_cef
${media_plugin_cef_SOURCE_FILES}
)
add_dependencies(media_plugin_cef
${LLPLUGIN_LIBRARIES}
${MEDIA_PLUGIN_BASE_LIBRARIES}
${LLCOMMON_LIBRARIES}
)
set_target_properties(media_plugin_cef PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
target_link_libraries(media_plugin_cef