Skip to content

Commit a1e1d72

Browse files
authored
Fixed compatibility with Ubuntu 18.04
1 parent bdd5f6a commit a1e1d72

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
include:
2020
- name: Linux
21-
os: ubuntu-22.04
21+
os: ubuntu-18.04
2222
app: pluginval
2323
test-binary: ./pluginval
2424
- name: macOS
@@ -97,7 +97,7 @@ jobs:
9797
with:
9898
path: ${{ env.PLUGIN_CACHE_PATH }}
9999
# Increment the version in the key below to manually break plugin cache
100-
key: v6-${{ runner.os }}-${{ env.JUCE_SHA1 }}
100+
key: v7-${{ runner.os }}-${{ env.JUCE_SHA1 }}
101101

102102
- name: Build JUCE example plugins
103103
if: steps.cache-plugins.outputs.cache-hit != 'true'

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,8 @@ target_link_libraries(pluginval PRIVATE
8686
juce::juce_audio_processors
8787
juce::juce_audio_utils
8888
juce::juce_recommended_warning_flags)
89+
90+
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
91+
target_link_libraries(pluginval PRIVATE
92+
-static-libstdc++)
93+
endif()

0 commit comments

Comments
 (0)