From 94627c1e8ee3b71f0274bd117bcd5fd9d42a2ec5 Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Wed, 15 Jun 2022 20:52:29 +0000 Subject: [PATCH] build: link pcre2 with vcpkg wxwidgets wxregex uses pcre2, link it when using static vcpkg wxwidgets. Signed-off-by: Rafael Kitover --- src/wx/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/CMakeLists.txt b/src/wx/CMakeLists.txt index 562af098..957809c7 100644 --- a/src/wx/CMakeLists.txt +++ b/src/wx/CMakeLists.txt @@ -150,7 +150,7 @@ if(WIN32 AND CMAKE_TOOLCHAIN_FILE MATCHES vcpkg AND (X86_32 OR X86_64)) set(deb_suffix d) endif() - foreach(lib_name libpng jpeg lzma tiff libexpat) + foreach(lib_name libpng jpeg lzma tiff libexpat pcre2) file( GLOB lib_file ${wxWidgets_LIB_DIR}/${lib_name}*.lib