From a9f409e3fcaa7e621ae49d7509bd7381405077f0 Mon Sep 17 00:00:00 2001 From: cy384 Date: Mon, 8 Jun 2020 20:13:01 -0400 Subject: [PATCH] add libssh2 link flag --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d880b0..0a5ec33 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,10 +7,10 @@ set_target_properties(ssheven PROPERTIES COMPILE_OPTIONS -ffunction-sections) IF(CMAKE_SYSTEM_NAME MATCHES Retro68) # for 68k set_target_properties(ssheven PROPERTIES LINK_FLAGS "-Wl,-gc-sections -Wl,--mac-strip-macsbug -Wl,--mac-segments -Wl,${CMAKE_CURRENT_SOURCE_DIR}/ssheven.segmap") -target_link_libraries(ssheven -lRetroConsole -lOpenTransport -lOpenTransportApp -lOpenTptInet -lmbedtls -lmbedx509 -lmbedcrypto) +target_link_libraries(ssheven -lRetroConsole -lOpenTransport -lOpenTransportApp -lOpenTptInet -lmbedtls -lmbedx509 -lmbedcrypto -lssh2) ELSE() # for PPC set_target_properties(ssheven PROPERTIES LINK_FLAGS "-Wl,-gc-sections") -target_link_libraries(ssheven -lRetroConsole -lOpenTransportAppPPC -lOpenTransportLib -lOpenTptInternetLib -lThreadsLib -lmbedtls -lmbedx509 -lmbedcrypto) +target_link_libraries(ssheven -lRetroConsole -lOpenTransportAppPPC -lOpenTransportLib -lOpenTptInternetLib -lThreadsLib -lmbedtls -lmbedx509 -lmbedcrypto -lssh2) ENDIF()