Skip to content

Commit

Permalink
Change to use --directory option for git apply
Browse files Browse the repository at this point in the history
  • Loading branch information
ryukau committed Jan 6, 2024
1 parent eae5084 commit 89382f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions build_instruction.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ cd VSTPlugins
# Patch vst3sdk.
# - https://github.com/ryukau/VSTPlugins/issues/48
# - https://github.com/steinbergmedia/vstgui/issues/126
cd lib/vst3sdk/vstgui4/
git apply ../../../ci/linux_patch/cairographicscontext.patch
cd ../../../
git apply --directory=lib/vst3sdk/vstgui4/ ci/linux_patch/cairographicscontext.patch

cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j
Expand Down
4 changes: 1 addition & 3 deletions ci/ci_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ sudo apt-get install cmake gcc "libstdc++6" libx11-xcb-dev libxcb-util-dev libxc
# Patch vst3sdk.
# - https://github.com/ryukau/VSTPlugins/issues/48
# - https://github.com/steinbergmedia/vstgui/issues/126
cd lib/vst3sdk/vstgui4/
git apply ../../../ci/linux_patch/cairographicscontext.patch
cd ../../../
git apply --directory=lib/vst3sdk/vstgui4/ ci/linux_patch/cairographicscontext.patch

cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
Expand Down

0 comments on commit 89382f9

Please sign in to comment.