From 8ccb091fb4fb05d13b22e8f1b5758ea92198b3b6 Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Tue, 6 Mar 2018 22:10:33 +0800 Subject: [PATCH] fix snappy build on macos --- cmake/external/snappy.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/external/snappy.cmake b/cmake/external/snappy.cmake index 2c109727cfa..71f54c425d4 100644 --- a/cmake/external/snappy.cmake +++ b/cmake/external/snappy.cmake @@ -39,6 +39,7 @@ ExternalProject_Add( -DCMAKE_INSTALL_LIBDIR=${SNAPPY_INSTALL_DIR}/lib -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_TESTING=OFF + -DSNAPPY_BUILD_TESTS:BOOL=OFF -DCMAKE_BUILD_TYPE=${THIRD_PARTY_BUILD_TYPE} ${EXTERNAL_OPTIONAL_ARGS} CMAKE_CACHE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${SNAPPY_INSTALL_DIR} -- GitLab