Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
a330762f
Commit
a330762f
authored
5 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
build: always use standalone asio
parent
e7972ae8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+3
-1
3 additions, 1 deletion
CMakeLists.txt
with
3 additions
and
1 deletion
CMakeLists.txt
+
3
−
1
View file @
a330762f
...
@@ -64,7 +64,6 @@ endif()
...
@@ -64,7 +64,6 @@ 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
)
...
@@ -87,6 +86,9 @@ if (OPENDHT_PROXY_SERVER OR OPENDHT_PROXY_CLIENT)
...
@@ -87,6 +86,9 @@ if (OPENDHT_PROXY_SERVER OR OPENDHT_PROXY_CLIENT)
add_definitions
(
-DOPENDHT_PROXY_HTTP_PARSER_FORK
)
add_definitions
(
-DOPENDHT_PROXY_HTTP_PARSER_FORK
)
endif
()
endif
()
endif
()
endif
()
if
(
OPENDHT_PROXY_SERVER OR OPENDHT_PROXY_CLIENT OR OPENDHT_PEER_DISCOVERY
)
add_definitions
(
-DASIO_STANDALONE
)
endif
()
# Build flags
# Build flags
set
(
CMAKE_CXX_STANDARD 14
)
set
(
CMAKE_CXX_STANDARD 14
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment