Adding linking of CoreFoundation to CMakeLists in absl/time as time_zone_lookup.cc includes CoreFoundation
This commit is contained in:
parent
7c7754fb3e
commit
3bd3028e86
1 changed files with 6 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue