add_definitions(-fPIC) add_library(custom_event_plugin custom_event_plugin.cpp ) set_target_properties(custom_event_plugin PROPERTIES PREFIX "") add_library(http_event_plugin http_event_plugin.cpp ) set_target_properties(http_event_plugin PROPERTIES PREFIX "")