mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
19 lines
331 B
CMake
19 lines
331 B
CMake
|
find_path(
|
||
|
ZSTD_INCLUDE_DIR
|
||
|
NAMES "zstd.h"
|
||
|
)
|
||
|
|
||
|
find_library(
|
||
|
ZSTD_LIBRARY
|
||
|
NAMES zstd
|
||
|
)
|
||
|
|
||
|
set(ZSTD_LIBRARIES ${ZSTD_LIBRARY})
|
||
|
|
||
|
include(FindPackageHandleStandardArgs)
|
||
|
find_package_handle_standard_args(
|
||
|
ZSTD DEFAULT_MSG ZSTD_INCLUDE_DIR ZSTD_LIBRARIES)
|
||
|
|
||
|
mark_as_advanced(ZSTD_INCLUDE_DIR ZSTD_LIBRARIES ZSTD_FOUND)
|
||
|
|