cmake: We don't have to define the ssh link libraries
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Этот коммит содержится в:
родитель
915c006a30
Коммит
b2c7e0dd69
@ -18,8 +18,7 @@ include_directories(
|
||||
|
||||
set(TORTURE_LINK_LIBRARIES
|
||||
${CMOCKA_LIBRARY}
|
||||
${LIBSSH_STATIC_LIBRARY}
|
||||
${LIBSSH_LINK_LIBRARIES})
|
||||
${LIBSSH_STATIC_LIBRARY})
|
||||
|
||||
# create test library
|
||||
add_library(${TORTURE_LIBRARY}
|
||||
|
@ -4,8 +4,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
add_executable(ssh_server_fuzzer ssh_server_fuzzer.cpp)
|
||||
target_link_libraries(ssh_server_fuzzer
|
||||
PRIVATE
|
||||
${LIBSSH_STATIC_LIBRARY}
|
||||
${LIBSSH_LINK_LIBRARIES})
|
||||
${LIBSSH_STATIC_LIBRARY})
|
||||
set_target_properties(ssh_server_fuzzer
|
||||
PROPERTIES
|
||||
COMPILE_FLAGS "-fsanitize=fuzzer"
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user