solanaceae_message_n10n/plugins/CMakeLists.txt

17 lines
399 B
CMake

cmake_minimum_required(VERSION 3.9...3.24 FATAL_ERROR)
add_library(plugin_message_n10n SHARED
./plugin_message_n10n.cpp
)
target_link_libraries(plugin_message_n10n PUBLIC
solanaceae_plugin
solanaceae_message_n10n
)
# probably not enough
target_compile_definitions(plugin_message_n10n PUBLIC ENTT_API_IMPORT)
set_target_properties(plugin_message_n10n PROPERTIES POSITION_INDEPENDENT_CODE ON)