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:
parent
8cee6ba5a0
commit
c16d5ebe0e
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue