diff --git a/cmake/external/snappy.cmake b/cmake/external/snappy.cmake index 2c109727cfa641b16ba01d6392613fa497b95902..71f54c425d4c38e271a8f1b78887d95a27252443 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}