aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libphonenumber/fix-find-protobuf.patch
blob: 6dd1dcadaaf2b38835c4f9a5252b6f70abba57c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)