diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libphonenumber/fix-find-protobuf.patch | |
Diffstat (limited to 'vcpkg/ports/libphonenumber/fix-find-protobuf.patch')
| -rw-r--r-- | vcpkg/ports/libphonenumber/fix-find-protobuf.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/libphonenumber/fix-find-protobuf.patch b/vcpkg/ports/libphonenumber/fix-find-protobuf.patch new file mode 100644 index 0000000..6dd1dca --- /dev/null +++ b/vcpkg/ports/libphonenumber/fix-find-protobuf.patch @@ -0,0 +1,12 @@ +diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt +index 10b6dce7..50f06eda 100644 +--- a/cpp/CMakeLists.txt ++++ b/cpp/CMakeLists.txt +@@ -46,6 +46,7 @@ function (print_error DESCRIPTION FILE) + "Can't find ${DESCRIPTION}: can't locate ${FILE}. Please read the README.") + endfunction () + ++set(CMAKE_FIND_LIBRARY_PREFIXES "${CMAKE_FIND_LIBRARY_PREFIXES};lib") + # Find a library. If it has not been found, stop CMake with a fatal error + # message. + function (find_required_library NAME HEADER LIBRARY DESCRIPTION) |