Skip to content

Commit 89b331d

Browse files
committed
disable dynamic links build on tvos.
1 parent f4d664b commit 89b331d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,10 @@ if(FIREBASE_CPP_BUILD_TESTS)
107107
${CMAKE_BINARY_DIR})
108108
endif()
109109

110-
if(PLATFORM STREQUAL TVOS)
111-
# AdMob is not supported on tvOS.
110+
if (PLATFORM STREQUAL TVOS OR PLATFORM STREQUAL SIMULATOR_TVOS)
111+
# AdMob, FDL are not supported on tvOS.
112112
set(FIREBASE_INCLUDE_ADMOB OFF)
113+
set(FIREBASE_INCLUDE_DYNAMIC_LINKS OFF)
113114
endif()
114115

115116
# Occasionally ANDROID is not being set correctly when invoked by gradle, so

0 commit comments

Comments
 (0)