Skip to content

Commit 3660c1f

Browse files
jonsimantova-maurice
authored andcommitted
Add libsecret to linux desktop dependency list for instance_id and remote_config libraries.
Fix Windows instance_id testapp build errors, and preemptively add Mac OS frameworks needed for persistent storage. PiperOrigin-RevId: 250717451
1 parent eac11c6 commit 3660c1f

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

release_build_files/CMakeLists.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,23 @@ if(NOT APPLE AND NOT ANDROID AND UNIX)
8989
pkg_check_modules(LIBSECRET libsecret-1)
9090

9191
if(NOT LIBSECRET_FOUND)
92-
message(WARNING "Unable to find libsecret, which is needed by \
93-
Authentication's desktop implementation. \
92+
message(WARNING "Unable to find libsecret, which is needed by Linux \
93+
desktop implementations of Auth, Instance ID, and \
94+
Remote Config. \
9495
It can be installed on supported systems via: \
9596
apt-get install libsecret-1-dev")
9697
else()
9798
set_target_properties(firebase_auth PROPERTIES
9899
INTERFACE_INCLUDE_DIRECTORIES "${LIBSECRET_INCLUDE_DIRS}"
99100
INTERFACE_LINK_LIBRARIES "${LIBSECRET_LIBRARIES}"
100101
)
102+
set_target_properties(firebase_instance_id PROPERTIES
103+
INTERFACE_INCLUDE_DIRECTORIES "${LIBSECRET_INCLUDE_DIRS}"
104+
INTERFACE_LINK_LIBRARIES "${LIBSECRET_LIBRARIES}"
105+
)
106+
set_target_properties(firebase_remote_config PROPERTIES
107+
INTERFACE_INCLUDE_DIRECTORIES "${LIBSECRET_INCLUDE_DIRS}"
108+
INTERFACE_LINK_LIBRARIES "${LIBSECRET_LIBRARIES}"
109+
)
101110
endif()
102111
endif()

0 commit comments

Comments
 (0)