Skip to content
Snippets Groups Projects
Commit fbb90a71 authored by Seva's avatar Seva Committed by Adrien Béraud
Browse files

cmake: add asio standalone flag to avoid boost

parent 316f3ccf
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,7 @@ endif() ...@@ -62,6 +62,7 @@ endif()
if (OPENDHT_PROXY_SERVER OR OPENDHT_PROXY_CLIENT) if (OPENDHT_PROXY_SERVER OR OPENDHT_PROXY_CLIENT)
find_package(Restinio REQUIRED) find_package(Restinio REQUIRED)
if (Restinio_FOUND) if (Restinio_FOUND)
add_definitions(-DASIO_STANDALONE)
find_library(FMT_LIBRARY fmt) find_library(FMT_LIBRARY fmt)
add_library(fmt SHARED IMPORTED) add_library(fmt SHARED IMPORTED)
find_library(HTTP_PARSER_LIBRARY http_parser) find_library(HTTP_PARSER_LIBRARY http_parser)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment