diff --git a/plugins/remote/CMakeLists.txt b/plugins/remote/CMakeLists.txt index b7df90a97..239322b09 100644 --- a/plugins/remote/CMakeLists.txt +++ b/plugins/remote/CMakeLists.txt @@ -18,11 +18,13 @@ add_imhex_plugin( INCLUDES include ${LIBSSH2_INCLUDE_DIR} - ${OPENSSL_INCLUDE_DIR} LIBRARIES ui fonts ${LIBSSH2_LIBRARY} - ${OPENSSL_LIBRARY} ) + +if (NOT WIN32) + target_link_libraries(remote PRIVATE OpenSSL::SSL OpenSSL::Crypto) +endif()