-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add https:// to the homepage so that it is a valid URI.
* Added usage. * Forced pkgconfig to be required rather than quiet. * Changed tabs to spaces in portfile.cmake.
- Loading branch information
1 parent
e74f160
commit 22ca917
Showing
5 changed files
with
33 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/cmake/FindSodium.cmake b/cmake/FindSodium.cmake | ||
index 23c5317..abbd08f 100644 | ||
--- a/cmake/FindSodium.cmake | ||
+++ b/cmake/FindSodium.cmake | ||
@@ -46,9 +46,9 @@ endif() | ||
# UNIX | ||
if(UNIX) | ||
# import pkg-config | ||
- find_package(PkgConfig QUIET) | ||
+ find_package(PkgConfig REQUIRED) | ||
if(PKG_CONFIG_FOUND) | ||
- pkg_check_modules(sodium_PKG QUIET libsodium) | ||
+ pkg_check_modules(sodium_PKG REQUIRED libsodium) | ||
endif() | ||
|
||
if(sodium_USE_STATIC_LIBS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
dpp provides CMake targets: | ||
find_package(dpp CONFIG REQUIRED) | ||
target_link_libraries(main PRIVATE dpp::dpp) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters