mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Fix build on Arch with recent version of protobuf
This commit is contained in:
parent
5d55ee48d2
commit
3754e386b3
@ -370,7 +370,12 @@ if(WITH_CORE)
|
||||
message (SEND_ERROR "sqlite3 dependency was not found!")
|
||||
endif()
|
||||
|
||||
find_package(Protobuf REQUIRED) # for decoding of vector tiles in MVT format
|
||||
find_package(Protobuf CONFIG)
|
||||
find_package(Protobuf REQUIRED)
|
||||
if((${Protobuf_VERSION} GREATER 4.23) OR (${Protobuf_VERSION} EQUAL 4.23))
|
||||
set(Protobuf_LITE_LIBRARY protobuf::libprotobuf-lite)
|
||||
endif()
|
||||
|
||||
message(STATUS "Found Protobuf: ${Protobuf_LIBRARIES}")
|
||||
if (NOT Protobuf_PROTOC_EXECUTABLE)
|
||||
message (SEND_ERROR "Protobuf library's 'protoc' tool was not found!")
|
||||
|
Loading…
x
Reference in New Issue
Block a user