File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1616# PCRE_FOUND - True if pcre found.
1717
1818# Look for the header file.
19- find_path (PCRE_INCLUDE_DIR NAMES pcreposix .h)
19+ find_path (PCRE_INCLUDE_DIR NAMES pcre .h)
2020
2121# Look for the library.
2222find_library (PCRE_LIBRARY NAMES pcre)
23- find_library (PCRE_POSIX_LIBRARY NAMES pcreposix)
2423
2524# Handle the QUIETLY and REQUIRED arguments and set PCRE_FOUND to TRUE if all listed variables are TRUE.
2625include (FindPackageHandleStandardArgs)
27- find_package_handle_standard_args(PCRE DEFAULT_MSG PCRE_LIBRARY PCRE_POSIX_LIBRARY PCRE_INCLUDE_DIR)
26+ find_package_handle_standard_args(PCRE DEFAULT_MSG PCRE_LIBRARY PCRE_INCLUDE_DIR)
2827
2928# Copy the results to the output variables.
3029if (PCRE_FOUND)
31- set (PCRE_LIBRARIES ${PCRE_LIBRARY} ${PCRE_POSIX_LIBRARY} )
30+ set (PCRE_LIBRARIES ${PCRE_LIBRARY} )
3231 set (PCRE_INCLUDE_DIRS ${PCRE_INCLUDE_DIR} )
3332else (PCRE_FOUND)
3433 set (PCRE_LIBRARIES)
Original file line number Diff line number Diff line change 1616# PCRE2_FOUND - True if pcre found.
1717
1818# Look for the header file.
19- find_path (PCRE2_INCLUDE_DIR NAMES pcre2posix .h)
19+ find_path (PCRE2_INCLUDE_DIR NAMES pcre2 .h)
2020
2121# Look for the library.
2222find_library (PCRE2_LIBRARY NAMES pcre2-8)
You can’t perform that action at this time.
0 commit comments