about summary refs log tree commit diff
path: root/absl
diff options
context:
space:
mode:
Diffstat (limited to 'absl')
-rw-r--r--absl/time/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/absl/time/CMakeLists.txt b/absl/time/CMakeLists.txt
index d67a486d7e32..590983210ac1 100644
--- a/absl/time/CMakeLists.txt
+++ b/absl/time/CMakeLists.txt
@@ -53,6 +53,10 @@ absl_cc_library(
     ${ABSL_DEFAULT_COPTS}
 )
 
+if(APPLE)
+  find_library(CoreFoundation CoreFoundation)
+endif()
+
 absl_cc_library(
   NAME
     time_zone
@@ -78,6 +82,8 @@ absl_cc_library(
     "internal/cctz/src/zone_info_source.cc"
   COPTS
     ${ABSL_DEFAULT_COPTS}
+  DEPS
+    $<$<PLATFORM_ID:Darwin>:${CoreFoundation}>
 )
 
 absl_cc_library(