Skip to content

Commit

Permalink
fix zstd typo in cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
raffertyyu committed Jan 30, 2024
1 parent aacf60d commit 3a4a218
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ else()
if(WITH_ZSTD)
find_package(zstd REQUIRED)
add_definitions(-DZSTD)
include_directories(${ZSTD_INCLUDE_DIRS})
include_directories(${zstd_INCLUDE_DIRS})
list(APPEND THIRDPARTY_LIBS zstd::zstd)
endif()
endif()
Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/Findzstd.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ find_library(zstd_LIBRARIES
HINTS ${zstd_ROOT_DIR}/lib)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(zstd DEFAULT_MSG zstd_LIBRARIES ZSTD_INCLUDE_DIRS)
find_package_handle_standard_args(zstd DEFAULT_MSG zstd_LIBRARIES zstd_INCLUDE_DIRS)

mark_as_advanced(
zstd_LIBRARIES
Expand Down

0 comments on commit 3a4a218

Please sign in to comment.