mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 04:19:10 -04:00
cmake: drop redundant add_dependencies()
(cherry picked from commit d705e8c0e924d3b815697a075c27a36298f04078)
This commit is contained in:
parent
6ea1ec68ce
commit
a28c83464c
@ -874,13 +874,9 @@ macro(add_sample_prog ssl name)
|
||||
event_core_static
|
||||
${LIB_APPS}
|
||||
${LIB_PLATFORM})
|
||||
add_dependencies(${name}
|
||||
event_core_static
|
||||
event_extra_static)
|
||||
|
||||
if (${ssl})
|
||||
target_link_libraries(${name} event_openssl_static)
|
||||
add_dependencies(${name} event_openssl_static)
|
||||
endif()
|
||||
endmacro()
|
||||
if (NOT EVENT__DISABLE_SAMPLES)
|
||||
@ -923,9 +919,6 @@ macro(add_bench_prog prog)
|
||||
event_core_static
|
||||
${LIB_APPS}
|
||||
${LIB_PLATFORM})
|
||||
add_dependencies(${prog}
|
||||
event_extra_static
|
||||
event_core_static)
|
||||
endmacro()
|
||||
if (NOT EVENT__DISABLE_BENCHMARK)
|
||||
foreach (BENCHMARK bench_http bench_httpclient)
|
||||
@ -947,9 +940,6 @@ macro(add_test_prog prog)
|
||||
event_core_shared
|
||||
event_extra_shared
|
||||
${ARGN})
|
||||
add_dependencies(${prog}
|
||||
event_core_shared
|
||||
event_extra_shared)
|
||||
endmacro()
|
||||
if (NOT EVENT__DISABLE_TESTS)
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user