solanaceae_message_n10n/plugins/CMakeLists.txt

17 lines
399 B
CMake
Raw Normal View History

2024-05-17 22:18:41 +02:00
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)