Skip to content

Commit f4ea8f6

Browse files
committed
Only patch leveldb if we are building for Windows.
1 parent 2013bfd commit f4ea8f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/external/leveldb.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ if(TARGET leveldb)
1818
return()
1919
endif()
2020

21+
if (DESKTOP AND MSVC)
2122
set(patch_file
2223
${CMAKE_CURRENT_LIST_DIR}/../../scripts/git/patches/leveldb/0001-leveldb-1.23-windows-paths.patch)
24+
endif()
2325

2426
# This version must be kept in sync with the version in firestore.patch.txt.
2527
# If this version ever changes then make sure to update the version in

0 commit comments

Comments
 (0)