Skip to content

Commit 351795e

Browse files
authored
Merge pull request #8804 from jacquesqiao/fix-snappy-build-on-mac
fix snappy build
2 parents 0e1f82f + 8ccb091 commit 351795e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/external/snappy.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ ExternalProject_Add(
3939
-DCMAKE_INSTALL_LIBDIR=${SNAPPY_INSTALL_DIR}/lib
4040
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
4141
-DBUILD_TESTING=OFF
42+
-DSNAPPY_BUILD_TESTS:BOOL=OFF
4243
-DCMAKE_BUILD_TYPE=${THIRD_PARTY_BUILD_TYPE}
4344
${EXTERNAL_OPTIONAL_ARGS}
4445
CMAKE_CACHE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${SNAPPY_INSTALL_DIR}

0 commit comments

Comments
 (0)