[CMake] Remove add_dependency entries for items listed in target_link_libraries. Superfluous. (Alchemy sync)
Fixes Linux build errors.
This commit is contained in:
@@ -7,6 +7,7 @@ include(LLCommon)
|
||||
include(LLMath)
|
||||
include(LLMessage)
|
||||
include(LLRender)
|
||||
include(Boost)
|
||||
|
||||
include_directories(
|
||||
${LLCOMMON_INCLUDE_DIRS}
|
||||
|
||||
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user