Skip to content

Commit 9928d00

Browse files
committed
Fix target_compile_definitions option.
1 parent a1d94f8 commit 9928d00

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

firestore/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,9 @@ if (WIN32 AND NOT ANDROID AND NOT IOS)
331331
# accomplish weak linking. See
332332
# https://github.com/google/cctz/blob/master/src/zone_info_source.cc for a
333333
# look at what we're up against.
334-
target_compile_definitions(absl_time_zone "-D_LIBCPP_VERSION=99")
334+
target_compile_definitions(absl_time_zone
335+
PRIVATE
336+
_LIBCPP_VERSION=99)
335337
endif()
336338

337339
target_compile_definitions(firebase_firestore

0 commit comments

Comments
 (0)