Skip to content

Commit 9a6208d

Browse files
committed
Fix bad conditional.
1 parent 787c744 commit 9a6208d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/external_rules.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function(download_external_sources)
9393
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/external
9494
)
9595

96-
if(external_platform EQUALS "DESKTOP")
96+
if(NOT ANDROID AND NOT IOS)
9797
# CMake's find_package(OpenSSL) doesn't quite work right with BoringSSL
9898
# unless the header file contains OPENSSL_VERSION_NUMBER.
9999
file(READ ${PROJECT_BINARY_DIR}/external/src/boringssl/src/include/openssl/opensslv.h TMP_HEADER_CONTENTS)

0 commit comments

Comments
 (0)