mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 06:23:51 +08:00
cc63dc0f66
* Update cmake to 3.25.1 * [libphonenumber] fix finding of protobuf * Add zeroc-ice:x64-windows-static-md=fail Co-authored-by: FrankXie <v-frankxie@microsoft.com> Co-authored-by: Cheney-Wang <850426846@qq.com>
13 lines
514 B
Diff
13 lines
514 B
Diff
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
|
|
index 86f2212..46913fd 100644
|
|
--- a/cpp/CMakeLists.txt
|
|
+++ b/cpp/CMakeLists.txt
|
|
@@ -44,6 +44,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)
|