Merge pull request #280 from chiumichael/master
Adding linking of CoreFoundation to CMakeLists in absl/time
This commit is contained in:
commit
6fd827124f
1 changed files with 6 additions and 0 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue