mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
Removed setting CMAKE_FIND_LIBRARY_SUFFIXES to fix configure error in Windows
This commit is contained in:
parent
23ae7eb168
commit
49c282da32
@ -7,8 +7,8 @@ index 3839e22..91720a9 100644
|
||||
add_definitions(-DPB_FIELD_32BIT)
|
||||
|
||||
+if (gRPC_STATIC_LINKING)
|
||||
+ # Force to static link
|
||||
+ set(CMAKE_EXE_LINKER_FLAGS "-Bstatic")
|
||||
+ set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
|
||||
+endif()
|
||||
+
|
||||
if (MSVC)
|
||||
|
Loading…
x
Reference in New Issue
Block a user