diff --git a/CMakeLists.txt b/CMakeLists.txt index 11eb544..8c67377 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -131,7 +131,7 @@ link_directories( file(GLOB CAPI_SRCS "src/CommonAPI/*.cpp") list(SORT CAPI_SRCS) -add_library(CommonAPI SHARED ${CAPI_SRCS}) +add_library(CommonAPI ${CAPI_SRCS}) target_link_libraries(CommonAPI PRIVATE ${DL_LIBRARY} ${DLT_LIBRARIES}) set_target_properties(CommonAPI PROPERTIES VERSION ${LIBCOMMONAPI_MAJOR_VERSION}.${LIBCOMMONAPI_MINOR_VERSION}.${LIBCOMMONAPI_PATCH_VERSION} SOVERSION ${LIBCOMMONAPI_MAJOR_VERSION}.${LIBCOMMONAPI_MINOR_VERSION}.${LIBCOMMONAPI_PATCH_VERSION} LINKER_LANGUAGE C) target_include_directories(CommonAPI INTERFACE