No soname for plugin.so in CREATE_BUNDLE mode

This commit is contained in:
Thomas Krijnen
2026-04-21 21:52:04 +02:00
parent 782aa4f88f
commit 18363c0d19
+5 -1
View File
@@ -3,10 +3,14 @@ file(GLOB PLUGIN_CPP_FILES *.cpp)
add_library(plugin ${PLUGIN_CPP_FILES} ${PLUGIN_H_FILES})
set_target_properties(plugin PROPERTIES
COMPILE_FLAGS "-DPLUGIN_EXPORTS"
COMPILE_FLAGS "-DPLUGIN_EXPORTS")
if (NOT CREATE_BUNDLE)
set_target_properties(plugin PROPERTIES
VERSION "${PROJECT_VERSION}"
SOVERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}"
)
endif()
target_compile_definitions(plugin PRIVATE
BOOST_DLL_USE_STD_FS