Merge pull request #280 from chiumichael/master

Adding linking of CoreFoundation to CMakeLists in absl/time
This commit is contained in:
Derek Mauro 2019-03-19 13:37:38 -04:00 committed by GitHub
commit 6fd827124f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(
"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(