mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Meta: Clean up generated CMake uservars
Prior to this change, running ./Meta/ladybird.sh rebuild would not remove the user-variables.cmake file that was generated by the build script. This caused errors when testing out the .devcontainer on my Mac because the pkg-config binary lived in different dirs in the container vs host.debug
This commit is contained in:
parent
fd5ee06bbf
commit
9336b14d15
Notes:
github-actions[bot]
2024-10-12 21:38:19 +00:00
Author: https://github.com/coryvirok 🔰 Commit: https://github.com/LadybirdBrowser/ladybird/commit/9336b14d151 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1730 Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 4 additions and 0 deletions
|
@ -134,6 +134,10 @@ build_target() {
|
|||
|
||||
delete_target() {
|
||||
[ ! -d "$BUILD_DIR" ] || rm -rf "$BUILD_DIR"
|
||||
|
||||
# Delete the vcpkg user variables created by this script if they exist
|
||||
VCPKG_USER_VARS="$LADYBIRD_SOURCE_DIR/Meta/CMake/vcpkg/user-variables.cmake"
|
||||
[ ! -f "$VCPKG_USER_VARS" ] || rm "$VCPKG_USER_VARS"
|
||||
}
|
||||
|
||||
build_vcpkg() {
|
||||
|
|
Loading…
Reference in a new issue