Update vcpkg to Qt6 (#4872)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
+9
-2
@@ -8,8 +8,6 @@ list(APPEND CMAKE_MODULE_PATH
|
||||
"${CMAKE_SOURCE_DIR}/cmake/sanitizers-cmake/cmake"
|
||||
)
|
||||
|
||||
project(chatterino VERSION 2.4.6)
|
||||
|
||||
option(BUILD_APP "Build Chatterino" ON)
|
||||
option(BUILD_TESTS "Build the tests for Chatterino" OFF)
|
||||
option(BUILD_BENCHMARKS "Build the benchmarks for Chatterino" OFF)
|
||||
@@ -45,6 +43,15 @@ else()
|
||||
set(MAJOR_QT_VERSION "5")
|
||||
endif()
|
||||
|
||||
if(BUILD_TESTS)
|
||||
list(APPEND VCPKG_MANIFEST_FEATURES "tests")
|
||||
endif()
|
||||
if(BUILD_BENCHMARKS)
|
||||
list(APPEND VCPKG_MANIFEST_FEATURES "benchmarks")
|
||||
endif()
|
||||
|
||||
project(chatterino VERSION 2.4.6)
|
||||
|
||||
find_program(CCACHE_PROGRAM ccache)
|
||||
find_program(SCCACHE_PROGRAM sccache)
|
||||
if (SCCACHE_PROGRAM)
|
||||
|
||||
Reference in New Issue
Block a user