correct plugin target type
This commit is contained in:
parent
589a947449
commit
d333927ec3
@ -2,13 +2,12 @@ cmake_minimum_required(VERSION 3.9...3.24 FATAL_ERROR)
|
|||||||
|
|
||||||
########################################
|
########################################
|
||||||
|
|
||||||
add_library(plugin_mfs_wip SHARED
|
add_library(plugin_mfs_wip MODULE
|
||||||
./plugin_mfs_wip.cpp
|
./plugin_mfs_wip.cpp
|
||||||
)
|
)
|
||||||
target_compile_features(plugin_mfs_wip PUBLIC cxx_std_17)
|
target_compile_features(plugin_mfs_wip PUBLIC cxx_std_17)
|
||||||
set_target_properties(plugin_mfs_wip PROPERTIES
|
set_target_properties(plugin_mfs_wip PROPERTIES
|
||||||
C_VISIBILITY_PRESET hidden
|
C_VISIBILITY_PRESET hidden
|
||||||
POSITION_INDEPENDENT_CODE ON
|
|
||||||
)
|
)
|
||||||
target_compile_definitions(plugin_mfs_wip PUBLIC ENTT_API_IMPORT)
|
target_compile_definitions(plugin_mfs_wip PUBLIC ENTT_API_IMPORT)
|
||||||
target_link_libraries(plugin_mfs_wip PUBLIC
|
target_link_libraries(plugin_mfs_wip PUBLIC
|
||||||
|
Loading…
Reference in New Issue
Block a user