diff --git a/src/services/payload/CMakeLists.txt b/src/services/payload/CMakeLists.txt index bed3bd6e79..e02351b0aa 100644 --- a/src/services/payload/CMakeLists.txt +++ b/src/services/payload/CMakeLists.txt @@ -7,7 +7,7 @@ get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME) # Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets # Setting default includes, libraries and installation paths -plugin_add(${PLUGIN_NAME} WITH_STATIC_LIBRARY) +plugin_add(${PLUGIN_NAME} WITH_SHARED_LIBRARY) # The macro grabs sources as *.cc *.cpp *.c and headers as *.h *.hh *.hpp Then # correctly sets sources for ${_name}_plugin and ${_name}_library targets Adds