mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 06:18:07 +03:00
12 lines
309 B
CMake
12 lines
309 B
CMake
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
||
|
include(FindPackageHandleStandardArgs)
|
||
|
find_path(PCRE_INCLUDE_DIR NAMES pcre.h)
|
||
|
find_library(PCRE_LIBRARY NAMES pcre)
|
||
|
find_package_handle_standard_args(
|
||
|
PCRE
|
||
|
DEFAULT_MSG
|
||
|
PCRE_LIBRARY
|
||
|
PCRE_INCLUDE_DIR
|
||
|
)
|
||
|
mark_as_advanced(PCRE_INCLUDE_DIR PCRE_LIBRARY)
|