qt: make qt dependencies a feature in vcpkg

so they are not included if building non-qt
This commit is contained in:
ts-korhonen
2022-02-06 13:30:39 +02:00
parent 7b3eaac6cf
commit 577a72748f
2 changed files with 16 additions and 5 deletions

View File

@@ -18,6 +18,10 @@ cmake_minimum_required(VERSION 3.16)
cmake_policy(SET CMP0091 NEW)
cmake_policy(SET CMP0079 NEW)
if (QT)
list(APPEND VCPKG_MANIFEST_FEATURES "qt-ui")
endif()
project(86Box
VERSION 3.2
DESCRIPTION "Emulator of x86-based systems"