add_definitions(-fPIC)
add_subdirectory(libprotoident)

add_library(lpi lpi_plugin.cpp quic_ident.cpp openvpn_ident.cpp)
target_include_directories(lpi PUBLIC ${CMAKE_SOURCE_DIR}/deps/)

target_link_libraries(lpi libprotoident)
set_target_properties(lpi PROPERTIES LINK_FLAGS
    "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/version.map")

#install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/stellar_plugin COMPONENT LIBRARIES)

