cmake: Require LibVNCServer >= 0.9.14

Changes:
- Drop FindLibVNCServer.cmake and rely on the CMake package config instead.
- Set the minimum required version to 0.9.14.
This commit is contained in:
Wendi Gan
2025-04-30 21:54:11 +08:00
committed by Alexey Min
parent c434224d23
commit 7e34a75b8e
3 changed files with 3 additions and 45 deletions

View File

@@ -71,7 +71,7 @@ ecm_set_disabled_deprecation_versions(
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} )
find_package(LibVNCServer REQUIRED)
find_package(LibVNCServer 0.9.14 REQUIRED)
option(DISABLE_PIPEWIRE "Disable PipeWire support." OFF)