diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/FindPCRE2.cmake | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmake/Modules/FindPCRE2.cmake b/cmake/Modules/FindPCRE2.cmake index 122f0e9d4..f8c5639d5 100644 --- a/cmake/Modules/FindPCRE2.cmake +++ b/cmake/Modules/FindPCRE2.cmake @@ -20,15 +20,14 @@ FIND_PATH(PCRE2_INCLUDE_DIR NAMES pcre2posix.h) # Look for the library. FIND_LIBRARY(PCRE2_LIBRARY NAMES pcre2-8) -FIND_LIBRARY(PCRE2_POSIX_LIBRARY NAMES pcre2-posix) # Handle the QUIETLY and REQUIRED arguments and set PCRE2_FOUND to TRUE if all listed variables are TRUE. INCLUDE(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(PCRE2 DEFAULT_MSG PCRE2_LIBRARY PCRE2_POSIX_LIBRARY PCRE2_INCLUDE_DIR) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(PCRE2 DEFAULT_MSG PCRE2_LIBRARY PCRE2_INCLUDE_DIR) # Copy the results to the output variables. IF(PCRE2_FOUND) - SET(PCRE2_LIBRARIES ${PCRE2_LIBRARY} ${PCRE2_POSIX_LIBRARY}) + SET(PCRE2_LIBRARIES ${PCRE2_LIBRARY}) SET(PCRE2_INCLUDE_DIRS ${PCRE2_INCLUDE_DIR}) ELSE(PCRE2_FOUND) SET(PCRE2_LIBRARIES) |