mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01: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
|
|
@ -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 New Issue
Block a user