forked from vesoft-inc/nebula-storage
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e19f317
commit ec97c12
Showing
4 changed files
with
84 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Finds liblz4. | ||
# | ||
# This module defines: | ||
# LZ4_FOUND | ||
# LZ4_INCLUDE_DIR | ||
# LZ4_LIBRARY | ||
# | ||
|
||
find_path(LZ4_INCLUDE_DIR NAMES lz4.h) | ||
|
||
find_library(LZ4_LIBRARY_DEBUG NAMES lz4d) | ||
find_library(LZ4_LIBRARY_RELEASE NAMES lz4) | ||
|
||
include(SelectLibraryConfigurations) | ||
SELECT_LIBRARY_CONFIGURATIONS(LZ4) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS( | ||
LZ4 DEFAULT_MSG | ||
LZ4_LIBRARY LZ4_INCLUDE_DIR | ||
) | ||
|
||
if (LZ4_FOUND) | ||
message(STATUS "Found LZ4: ${LZ4_LIBRARY}") | ||
endif() | ||
|
||
mark_as_advanced(LZ4_INCLUDE_DIR LZ4_LIBRARY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters