about summary refs log tree commit diff
path: root/absl/time
diff options
context:
space:
mode:
authorDerek Mauro <761129+derekmauro@users.noreply.github.com>2019-03-19T17·37-0400
committerGitHub <noreply@github.com>2019-03-19T17·37-0400
commit6fd827124facd8336981e73218997f9e73029b4f (patch)
tree66eec6704d71509a991a87ba848a7474d5fbb1f7 /absl/time
parent7c7754fb3ed9ffb57d35fe8658f3ba4d73a31e72 (diff)
parent3bd3028e862e574d07a414de6e99273c1868cd3e (diff)
Merge pull request #280 from chiumichael/master
Adding linking of CoreFoundation to CMakeLists in absl/time
Diffstat (limited to 'absl/time')
-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(