Commit 6fd82712 by Derek Mauro Committed by GitHub

Merge pull request #280 from chiumichael/master

Adding linking of CoreFoundation to CMakeLists in absl/time
parents 7c7754fb 3bd3028e
...@@ -53,6 +53,10 @@ absl_cc_library( ...@@ -53,6 +53,10 @@ absl_cc_library(
${ABSL_DEFAULT_COPTS} ${ABSL_DEFAULT_COPTS}
) )
if(APPLE)
find_library(CoreFoundation CoreFoundation)
endif()
absl_cc_library( absl_cc_library(
NAME NAME
time_zone time_zone
...@@ -78,6 +82,8 @@ absl_cc_library( ...@@ -78,6 +82,8 @@ absl_cc_library(
"internal/cctz/src/zone_info_source.cc" "internal/cctz/src/zone_info_source.cc"
COPTS COPTS
${ABSL_DEFAULT_COPTS} ${ABSL_DEFAULT_COPTS}
DEPS
$<$<PLATFORM_ID:Darwin>:${CoreFoundation}>
) )
absl_cc_library( absl_cc_library(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment