correct plugin target type
This commit is contained in:
parent
fe28aaeda0
commit
0379c8a5ab
@ -1,12 +1,11 @@
|
||||
cmake_minimum_required(VERSION 3.14...3.24 FATAL_ERROR)
|
||||
|
||||
add_library(plugin_ircclient SHARED
|
||||
add_library(plugin_ircclient MODULE
|
||||
./plugin_ircclient.cpp
|
||||
)
|
||||
|
||||
set_target_properties(plugin_ircclient PROPERTIES
|
||||
C_VISIBILITY_PRESET hidden
|
||||
POSITION_INDEPENDENT_CODE ON
|
||||
)
|
||||
# probably not enough
|
||||
target_compile_definitions(plugin_ircclient PUBLIC ENTT_API_IMPORT)
|
||||
|
Loading…
Reference in New Issue
Block a user