correct plugin target type

This commit is contained in:
Green Sky 2024-05-28 10:09:23 +02:00
parent ea63233452
commit b21acd4c99
No known key found for this signature in database

View File

@ -1,9 +1,14 @@
cmake_minimum_required(VERSION 3.14...3.24 FATAL_ERROR) cmake_minimum_required(VERSION 3.14...3.24 FATAL_ERROR)
add_library(plugin_bridge SHARED add_library(plugin_bridge MODULE
./plugin_bridge.cpp ./plugin_bridge.cpp
) )
set_target_properties(plugin_bridge PROPERTIES
C_VISIBILITY_PRESET hidden
)
target_compile_definitions(plugin_bridge PUBLIC ENTT_API_IMPORT)
target_link_libraries(plugin_bridge PUBLIC target_link_libraries(plugin_bridge PUBLIC
solanaceae_plugin solanaceae_plugin
solanaceae_bridge solanaceae_bridge