mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
49f4c37b67
Summary: Internal Facebook infrastructure is nagging me about some files not having a Facebook copyright notice. Add a notice to these files to make the nagging stop. Reviewed By: simpkins Differential Revision: D14173944 fbshipit-source-id: 7234431224fcf4f86ea56ca2f9108f47ef959d87
35 lines
833 B
CMake
35 lines
833 B
CMake
# Copyright (c) 2016-present, Facebook, Inc.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed under the BSD-style license found in the
|
|
# LICENSE file in the root directory of this source tree. An additional grant
|
|
# of patent rights can be found in the PATENTS file in the same directory.
|
|
#
|
|
# 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)
|