diff options
Diffstat (limited to 'cmake/ZSTDCodec.cmake')
-rw-r--r-- | cmake/ZSTDCodec.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/ZSTDCodec.cmake b/cmake/ZSTDCodec.cmake index 506e53c2..490d75c4 100644 --- a/cmake/ZSTDCodec.cmake +++ b/cmake/ZSTDCodec.cmake @@ -31,7 +31,7 @@ set(ZSTD_USABLE FALSE) find_package(ZSTD) if(ZSTD_FOUND) - if (NOT (DEFINED ZSTD_HAVE_DECOMPRESS_STREAM)) + if(NOT DEFINED ZSTD_HAVE_DECOMPRESS_STREAM) set(CMAKE_REQUIRED_INCLUDES_SAVE ${CMAKE_REQUIRED_INCLUDES}) set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${ZSTD_INCLUDE_DIRS}) set(CMAKE_REQUIRED_LIBRARIES_SAVE ${CMAKE_REQUIRED_LIBRARIES}) @@ -40,7 +40,7 @@ if(ZSTD_FOUND) set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES_SAVE}) set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES_SAVE}) endif() - set(ZSTD_RECENT_ENOUGH "${ZSTD_HAVE_DECOMPRESS_STREAM}") + set(ZSTD_RECENT_ENOUGH ${ZSTD_HAVE_DECOMPRESS_STREAM}) if (ZSTD_RECENT_ENOUGH) set(ZSTD_USABLE TRUE) |