[proxy,modules] explicitly build shared libraries

The proxy modules must always be shared libraries. To have the proper
system extension, use keyword SHARED instead of MOUDLE
This commit is contained in:
Armin Novak 2023-12-14 13:17:37 +01:00 committed by akallabeth
parent 36137a00e2
commit f791cf6308
4 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
include(MSVCRuntime)
add_library(${PROJECT_NAME} MODULE
add_library(${PROJECT_NAME} SHARED
bitmap-filter.cpp
)

View File

@ -35,7 +35,7 @@ endif()
include(MSVCRuntime)
add_library(${PROJECT_NAME} MODULE
add_library(${PROJECT_NAME} SHARED
cap_main.c
cap_config.c
cap_config.h

View File

@ -34,7 +34,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
include(MSVCRuntime)
add_library(${PROJECT_NAME} MODULE
add_library(${PROJECT_NAME} SHARED
demo.cpp
)

View File

@ -33,7 +33,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
include(MSVCRuntime)
add_library(${PROJECT_NAME} MODULE
add_library(${PROJECT_NAME} SHARED
dyn-channel-dump.cpp
)