vcpkg/ports/dpp/make-pkgconfig-required.patch
Craig Edwards 0257395b0f
[DPP] Add new port (#25949)
* vcpkg dpp port built from our CI

* fix missing dependency

* update

* Update Sun Jul 24 11:26:12 UTC 2022

* exclude uwp for dpp

* Update Sun Jul 24 13:21:45 UTC 2022

* fix supports

* fix supports

* Update Sun Jul 24 14:14:29 UTC 2022

* Update Sun Jul 24 15:36:39 UTC 2022

* Update Mon Jul 25 12:04:56 UTC 2022

* * 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.

Co-authored-by: Billy O'Neal <bion@microsoft.com>
2022-07-26 15:04:32 -07:00

17 lines
457 B
Diff

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)