some sanity checks
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.9...3.24 FATAL_ERROR)
|
||||
|
||||
add_library(plugin_message_n10n SHARED
|
||||
add_library(plugin_message_n10n MODULE
|
||||
./plugin_message_n10n.cpp
|
||||
)
|
||||
|
||||
@ -9,8 +9,9 @@ target_link_libraries(plugin_message_n10n PUBLIC
|
||||
solanaceae_message_n10n
|
||||
)
|
||||
|
||||
set_target_properties(plugin_message_n10n PROPERTIES
|
||||
C_VISIBILITY_PRESET hidden
|
||||
)
|
||||
# probably not enough
|
||||
target_compile_definitions(plugin_message_n10n PUBLIC ENTT_API_IMPORT)
|
||||
|
||||
set_target_properties(plugin_message_n10n PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
|
Reference in New Issue
Block a user