add_definitions(-fPIC)
add_subdirectory(libprotoident)

add_library(glimpse_detector app_l7_protocol.cpp quic_identify.cpp openvpn_identify.cpp)
target_include_directories(glimpse_detector PUBLIC ${CMAKE_SOURCE_DIR}/deps/)

target_link_libraries(glimpse_detector libprotoident)
set_target_properties(glimpse_detector 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)

