aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2023-04-10 14:17:10 +0100
committerJoão Valverde <j@v6e.pt>2023-04-10 14:26:12 +0100
commitcb58daab317554af9105483a246ee359bcada6a1 (patch)
tree6d66825def4b16a33a15847856232b9da5c26d31 /cmake/modules
parent708ef4fc27e0ad34141e2e26002f38bf19aa3672 (diff)
MSYS2: Fix detection of GnuTLS
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/FindGNUTLS.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindGNUTLS.cmake b/cmake/modules/FindGNUTLS.cmake
index 9028529848..4f070850c1 100644
--- a/cmake/modules/FindGNUTLS.cmake
+++ b/cmake/modules/FindGNUTLS.cmake
@@ -17,7 +17,7 @@ endif()
include(FindWSWinLibs)
findwswinlibs("gnutls-.*" "GNUTLS_HINTS")
-if(NOT WIN32)
+if(NOT USE_REPOSITORY)
find_package(PkgConfig)
pkg_search_module(GNUTLS gnutls)
endif()