-
Notifications
You must be signed in to change notification settings - Fork 12
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
Showing
55 changed files
with
41 additions
and
14,124 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
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,26 @@ | ||
find_library(LZ4_LIBRARIES | ||
NAMES lz4 liblz4 | ||
HINTS $ENV{LZ4_ROOT}/lib | ||
) | ||
|
||
find_path(LZ4_INCLUDE_DIR | ||
NAMES lz4.h lz4hc.h | ||
HINTS $ENV{LZ4_ROOT}/include | ||
) | ||
|
||
set(LZ4_INCLUDE_DIRS | ||
${LZ4_INCLUDE_DIR} | ||
) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(LZ4 DEFAULT_MSG LZ4_LIBRARIES LZ4_INCLUDE_DIRS) | ||
|
||
mark_as_advanced(LZ4_LIBRARIES LZ4_INCLUDE_DIRS) | ||
|
||
if(LZ4_FOUND AND NOT LZ4::LZ4) | ||
add_library(LZ4::LZ4 UNKNOWN IMPORTED) | ||
set_target_properties( LZ4::LZ4 PROPERTIES | ||
INTERFACE_INCLUDE_DIRECTORIES "${LZ4_INCLUDE_DIRS}" | ||
IMPORTED_LOCATION ${LZ4_LIBRARIES}) | ||
endif() | ||
|
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.