solanaceae_clamav/plugins/CMakeLists.txt

16 lines
361 B
CMake

cmake_minimum_required(VERSION 3.24 FATAL_ERROR)
add_library(plugin_clamav SHARED
./plugin_clamav_module.cpp
)
target_compile_features(plugin_clamav PUBLIC cxx_std_17)
set_target_properties(plugin_clamav PROPERTIES
C_VISIBILITY_PRESET hidden
POSITION_INDEPENDENT_CODE ON
)
target_link_libraries(plugin_clamav PUBLIC
solanaceae_clamav
solanaceae_plugin
)