From 8bf19a07e068b17c2bc2a32aed0ba6d48a80411f Mon Sep 17 00:00:00 2001 From: Russell Johnston Date: Sat, 15 Oct 2022 11:14:56 -0700 Subject: Use the `-l` form for MinGW-specific link dependencies This corrects the generated .pc files, so these libs match the other libs already included there. --- absl/base/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'absl/base/CMakeLists.txt') diff --git a/absl/base/CMakeLists.txt b/absl/base/CMakeLists.txt index 5c46ba32..26e2b48a 100644 --- a/absl/base/CMakeLists.txt +++ b/absl/base/CMakeLists.txt @@ -201,7 +201,7 @@ absl_cc_library( LINKOPTS ${ABSL_DEFAULT_LINKOPTS} $<$:-lrt> - $<$:"advapi32"> + $<$:-ladvapi32> DEPS absl::atomic_hook absl::base_internal -- cgit v1.2.3