We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76668fe commit c7dc9d7Copy full SHA for c7dc9d7
1 file changed
sources/CMakeLists.txt
@@ -230,7 +230,7 @@ endforeach()
230
# set PROTOBUF_ROOT to force include/libs path
231
if(PROTOBUF_ROOT)
232
set(Protobuf_INCLUDE_DIR "${PROTOBUF_ROOT}/include")
233
- set(Protobuf_LIBRARY "${PROTOBUF_ROOT}/lib/libprotobuf.a")
+ set(Protobuf_LIBRARY "${PROTOBUF_ROOT}/lib/libprotobuf${CMAKE_STATIC_LIBRARY_SUFFIX}")
234
endif()
235
find_package(Protobuf MODULE 3.1.0 REQUIRED)
236
message("-- Found Protobuf: ${Protobuf_VERSION}")
0 commit comments