summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Copybara-Service <copybara-worker@google.com>2022-10-17 09:03:27 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-10-17 09:03:27 -0700
commit7ab917ec21efb6cdb3c3946fbecb9522ff2af100 (patch)
treed6ab5b09b66f92011a20cf47c8d2a0ba6de06c2e
parentedf41d72381bf496c83b24b9dc242bc055c584dd (diff)
parent8bf19a07e068b17c2bc2a32aed0ba6d48a80411f (diff)
Merge pull request #1298 from rpjohnst:mingw-cmake-build
PiperOrigin-RevId: 481654034 Change-Id: I8cb2ba51fec831a24a56e62022e210191e732687
-rw-r--r--absl/base/CMakeLists.txt2
-rw-r--r--absl/debugging/CMakeLists.txt2
-rw-r--r--absl/random/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
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}
$<$<BOOL:${LIBRT}>:-lrt>
- $<$<BOOL:${MINGW}>:"advapi32">
+ $<$<BOOL:${MINGW}>:-ladvapi32>
DEPS
absl::atomic_hook
absl::base_internal
diff --git a/absl/debugging/CMakeLists.txt b/absl/debugging/CMakeLists.txt
index 051e7017..e823f15b 100644
--- a/absl/debugging/CMakeLists.txt
+++ b/absl/debugging/CMakeLists.txt
@@ -62,7 +62,7 @@ absl_cc_library(
${ABSL_DEFAULT_COPTS}
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
- $<$<BOOL:${MINGW}>:"dbghelp">
+ $<$<BOOL:${MINGW}>:-ldbghelp>
DEPS
absl::debugging_internal
absl::demangle_internal
diff --git a/absl/random/CMakeLists.txt b/absl/random/CMakeLists.txt
index d04c7081..c74fd300 100644
--- a/absl/random/CMakeLists.txt
+++ b/absl/random/CMakeLists.txt
@@ -569,7 +569,7 @@ absl_cc_library(
${ABSL_DEFAULT_COPTS}
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
- $<$<BOOL:${MINGW}>:"bcrypt">
+ $<$<BOOL:${MINGW}>:-lbcrypt>
DEPS
absl::core_headers
absl::optional