[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

@@ -7,6 +7,7 @@ include(LLCommon)
include(LLMath)
include(LLMessage)
include(LLRender)
include(Boost)
include_directories(
${LLCOMMON_INCLUDE_DIRS}

View File

@@ -1,7 +1,6 @@
project(SLPlugin)
include(00-Common)
include(Linking)
include(LLCommon)
include(LLPlugin)
include(Linking)
@@ -72,12 +71,6 @@ target_link_libraries(SLPlugin
${PTHREAD_LIBRARY}
)
add_dependencies(SLPlugin
${LLPLUGIN_LIBRARIES}
${LLMESSAGE_LIBRARIES}
${LLCOMMON_LIBRARIES}
)
if (DARWIN)
# Mac version needs to link against Carbon
target_link_libraries(SLPlugin ${CARBON_LIBRARY} ${COCOA_LIBRARY})