mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
No soname for plugin.so in CREATE_BUNDLE mode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user