Files
imhex/plugins/remote/CMakeLists.txt
2025-07-14 01:57:13 +02:00

29 lines
522 B
CMake

cmake_minimum_required(VERSION 3.16)
include(ImHexPlugin)
if (NOT WIN32)
find_package(OpenSSL REQUIRED)
endif()
find_package(libssh2 REQUIRED)
add_imhex_plugin(
NAME
remote
SOURCES
source/plugin_remote.cpp
source/content/helpers/sftp_client.cpp
source/content/providers/ssh_provider.cpp
INCLUDES
include
${LIBSSH2_INCLUDE_DIR}
${OPENSSL_INCLUDE_DIR}
LIBRARIES
ui
fonts
${LIBSSH2_LIBRARY}
${OPENSSL_LIBRARY}
)