thirdparty/folly/build/fbcode_builder/CMake/FindPCRE.cmake
raw| 1 | # Copyright (c) Facebook, Inc. and its affiliates. |
| 2 | include(FindPackageHandleStandardArgs) |
| 3 | find_path(PCRE_INCLUDE_DIR NAMES pcre.h) |
| 4 | find_library(PCRE_LIBRARY NAMES pcre) |
| 5 | find_package_handle_standard_args( |
| 6 | PCRE |
| 7 | DEFAULT_MSG |
| 8 | PCRE_LIBRARY |
| 9 | PCRE_INCLUDE_DIR |
| 10 | ) |
| 11 | mark_as_advanced(PCRE_INCLUDE_DIR PCRE_LIBRARY) |