Merge pull request #1298 from rpjohnst:mingw-cmake-build

PiperOrigin-RevId: 481654034
Change-Id: I8cb2ba51fec831a24a56e62022e210191e732687
pull/1115/head
Copybara-Service 2 years ago
commit 7ab917ec21
  1. 2
      absl/base/CMakeLists.txt
  2. 2
      absl/debugging/CMakeLists.txt
  3. 2
      absl/random/CMakeLists.txt

@ -201,7 +201,7 @@ absl_cc_library(
LINKOPTS LINKOPTS
${ABSL_DEFAULT_LINKOPTS} ${ABSL_DEFAULT_LINKOPTS}
$<$<BOOL:${LIBRT}>:-lrt> $<$<BOOL:${LIBRT}>:-lrt>
$<$<BOOL:${MINGW}>:"advapi32"> $<$<BOOL:${MINGW}>:-ladvapi32>
DEPS DEPS
absl::atomic_hook absl::atomic_hook
absl::base_internal absl::base_internal

@ -62,7 +62,7 @@ absl_cc_library(
${ABSL_DEFAULT_COPTS} ${ABSL_DEFAULT_COPTS}
LINKOPTS LINKOPTS
${ABSL_DEFAULT_LINKOPTS} ${ABSL_DEFAULT_LINKOPTS}
$<$<BOOL:${MINGW}>:"dbghelp"> $<$<BOOL:${MINGW}>:-ldbghelp>
DEPS DEPS
absl::debugging_internal absl::debugging_internal
absl::demangle_internal absl::demangle_internal

@ -569,7 +569,7 @@ absl_cc_library(
${ABSL_DEFAULT_COPTS} ${ABSL_DEFAULT_COPTS}
LINKOPTS LINKOPTS
${ABSL_DEFAULT_LINKOPTS} ${ABSL_DEFAULT_LINKOPTS}
$<$<BOOL:${MINGW}>:"bcrypt"> $<$<BOOL:${MINGW}>:-lbcrypt>
DEPS DEPS
absl::core_headers absl::core_headers
absl::optional absl::optional

Loading…
Cancel
Save