Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dhtnet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
dhtnet
Commits
20649b5b
Commit
20649b5b
authored
1 year ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
dhtnet: fix cmake
Change-Id: Iac99480b4f9677a111d6347617346d6b29fea4bc
parent
9d35096b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+4
-4
4 additions, 4 deletions
CMakeLists.txt
with
4 additions
and
4 deletions
CMakeLists.txt
+
4
−
4
View file @
20649b5b
...
...
@@ -15,11 +15,11 @@ set (includedir "${CMAKE_INSTALL_FULL_INCLUDEDIR}")
set
(
VERSION
${
CMAKE_PROJECT_VERSION
}
)
find_package
(
PkgConfig REQUIRED
)
find_package
(
msgpackc-cxx QUIET CONFIG NAMES msgpackc-cxx msgpack
)
if
(
msgpackc-cxx_FOUND
)
find_package
(
msgpack-cxx CONFIG
)
if
(
NOT msgpack-cxx_FOUND
)
find_package
(
msgpackc-cxx CONFIG REQUIRED NAMES msgpackc-cxx msgpack
)
add_library
(
msgpack-cxx ALIAS msgpackc-cxx
)
else
()
find_package
(
msgpack-cxx CONFIG REQUIRED
)
endif
()
find_package
(
fmt
)
...
...
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