diff --git a/CMakeLists.txt b/CMakeLists.txt index 564a1fe30bb4..e6f1278f7bf4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -375,9 +375,6 @@ if(WITH_CORE) find_package(Protobuf CONFIG) find_package(Protobuf REQUIRED) - if(Protobuf_VERSION GREATER_EQUAL 4.23) - set(Protobuf_LITE_LIBRARY protobuf::libprotobuf-lite) - endif() message(STATUS "Found Protobuf: ${Protobuf_LIBRARIES}") if (NOT Protobuf_PROTOC_EXECUTABLE) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 26fca1e2bf99..692753b4e273 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -2460,7 +2460,7 @@ target_link_libraries(qgis_core EXPAT::EXPAT ${SQLITE3_LIBRARY} ${LIBZIP_LIBRARY} - ${Protobuf_LITE_LIBRARY} + $ ${ZLIB_LIBRARIES} ${EXIV2_LIBRARY} PROJ::proj