Skip to content

Commit abfee4d

Browse files
build(cmake): set linux shared libraries as .so
1 parent f46c6e1 commit abfee4d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.23)
2-
project(MCPServer.cpp LANGUAGES CXX VERSION 1.0.2.4)
2+
project(MCPServer.cpp LANGUAGES CXX VERSION 1.0.2.5)
33

44
if(UNIX AND NOT APPLE)
55
set(CMAKE_CXX_VISIBILITY_PRESET default)

cmake/PluginCommon.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ function(configure_plugin plugin_name src_files)
6262

6363
if(WIN32)
6464
set_target_properties(${plugin_name} PROPERTIES SUFFIX ".dll")
65+
else()
66+
set_target_properties(${plugin_name} PROPERTIES SUFFIX ".so")
6567
endif()
6668

6769
# Install the plugin to bin/plugins (always install plugins)

0 commit comments

Comments
 (0)