mirror of
https://github.com/facebook/sapling.git
synced 2024-12-28 15:44:27 +03:00
4bc8682391
Summary: Update the copyright & license headers in CMake files to reflect the relicensing to GPLv2 Reviewed By: wez Differential Revision: D15487079 fbshipit-source-id: 715e559464c19a0070d6e55a095b3fc7d61ad2f8
26 lines
647 B
CMake
26 lines
647 B
CMake
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
#
|
|
# This software may be used and distributed according to the terms of the
|
|
# GNU General Public License version 2.
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
find_path(SELINUX_INCLUDE_DIR NAMES selinux/selinux.h)
|
|
find_library(SEPOL_LIBRARY NAMES sepol)
|
|
find_library(SELINUX_LIBRARY NAMES selinux)
|
|
list(APPEND SELINUX_LIBRARIES ${SELINUX_LIBRARY} ${SEPOL_LIBRARY})
|
|
find_package_handle_standard_args(
|
|
SELINUX
|
|
DEFAULT_MSG
|
|
SELINUX_INCLUDE_DIR
|
|
SELINUX_LIBRARY
|
|
SEPOL_LIBRARY
|
|
SELINUX_LIBRARIES
|
|
)
|
|
mark_as_advanced(
|
|
SELINUX_INCLUDE_DIR
|
|
SELINUX_LIBRARY
|
|
SEPOL_LIBRARY
|
|
SELINUX_LIBRARIES
|
|
)
|