[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:
parent
36137a00e2
commit
f791cf6308
@ -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
|
||||
)
|
||||
|
||||
|
@ -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
|
||||
|
@ -34,7 +34,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
include(MSVCRuntime)
|
||||
|
||||
add_library(${PROJECT_NAME} MODULE
|
||||
add_library(${PROJECT_NAME} SHARED
|
||||
demo.cpp
|
||||
)
|
||||
|
||||
|
@ -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
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user