mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 20:23:41 +08:00
9624235c56
* [czmq] Update to 4.2.1 * [czmq] vcpkg x-add-version czmq * [czmq] Quote paths * [czmq] Overwrite version * [czmq] Fix curl winldap linkage when built as static library * [czmq] Overwrite version * [czmq] Fix dependencies * [czmq] Overwrite version * [czmq] Modernize * [czmq] Overwrite version
18 lines
399 B
CMake
18 lines
399 B
CMake
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
|
|
REQUIRED_VARS LZ4_LIBRARY LZ4_INCLUDE_DIR
|
|
)
|
|
|
|
if(LZ4_FOUND)
|
|
set(LZ4_INCLUDE_DIRS ${LZ4_INCLUDE_DIR})
|
|
endif()
|