fixed proxy interface

This commit is contained in:
Tim Blume 2021-03-20 02:37:12 +01:00
parent f99ee2abde
commit 1baee8c1e7
3 changed files with 14 additions and 8 deletions

View file

@ -1,5 +1,6 @@
SET(CMAKE_AUTOMOC ON)
add_library(mitmproxy_plugin MODULE mitmproxy_network.cpp mitmproxy_network.h mitmproxy.json)
add_compile_definitions(IS_HTTP_PROXY_INTERFACE)
add_library(mitmproxy_plugin SHARED mitmproxy_network.cpp mitmproxy_network.h mitmproxy.json)
target_include_directories(mitmproxy_plugin PRIVATE ../../include/)
target_link_libraries(mitmproxy_plugin PRIVATE Qt5::Core cppzmq)
set_target_properties(mitmproxy_plugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PLUGIN_DIR})