Files
itgmania212121/CMake/Modules/FindPcre.cmake
T

18 lines
499 B
CMake
Raw Normal View History

2015-03-22 15:46:53 -04:00
# Find pcre using standard tools.
# The following will be set:
# PCRE_INCLUDE_DIR PCRE_LIBRARY PCRE_FOUND
2015-03-22 15:46:53 -04:00
find_path(PCRE_INCLUDE_DIR NAMES pcre.h)
find_library(PCRE_LIBRARY NAMES pcre)
# Properly pass QUIETLY and REQUIRED.
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(PCRE
DEFAULT_MSG
PCRE_INCLUDE_DIR
PCRE_LIBRARY)
2015-03-22 15:46:53 -04:00
mark_as_advanced(PCRE_INCLUDE_DIR PCRE_LIBRARY)