mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
CMake: Set VCPKG_MANIFEST_FEATURES as a cache variable
This reduces vcpkg churn when it thinks that the manifest features have changed, but they haven't due to the Gui framework staying the same.
This commit is contained in:
Notes:
github-actions[bot]
2026-04-20 22:44:35 +00:00
Author: https://github.com/ADKaster Commit: https://github.com/LadybirdBrowser/ladybird/commit/c16d5ebe0ed Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8968 Reviewed-by: https://github.com/trflynn89 ✅
@@ -21,7 +21,7 @@ if (CMAKE_TOOLCHAIN_FILE MATCHES "vcpkg.cmake$")
|
||||
set(CMAKE_PROJECT_ladybird_INCLUDE_BEFORE "Meta/CMake/vcpkg/generate_vcpkg_toolchain_variables.cmake")
|
||||
if (LADYBIRD_GUI_FRAMEWORK STREQUAL "Qt" OR LADYBIRD_GUI_FRAMEWORK STREQUAL "Gtk")
|
||||
string(TOLOWER "${LADYBIRD_GUI_FRAMEWORK}" framework_feature)
|
||||
set(VCPKG_MANIFEST_FEATURES "${framework_feature}")
|
||||
set(VCPKG_MANIFEST_FEATURES "${framework_feature}" CACHE STRING "" FORCE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user