Skip to content

Commit

Permalink
Fixed compatibility with Ubuntu 18.04
Browse files Browse the repository at this point in the history
  • Loading branch information
drowaudio committed Aug 10, 2022
1 parent bdd5f6a commit a1e1d72
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
matrix:
include:
- name: Linux
os: ubuntu-22.04
os: ubuntu-18.04
app: pluginval
test-binary: ./pluginval
- name: macOS
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
with:
path: ${{ env.PLUGIN_CACHE_PATH }}
# Increment the version in the key below to manually break plugin cache
key: v6-${{ runner.os }}-${{ env.JUCE_SHA1 }}
key: v7-${{ runner.os }}-${{ env.JUCE_SHA1 }}

- name: Build JUCE example plugins
if: steps.cache-plugins.outputs.cache-hit != 'true'
Expand Down
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,8 @@ target_link_libraries(pluginval PRIVATE
juce::juce_audio_processors
juce::juce_audio_utils
juce::juce_recommended_warning_flags)

if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
target_link_libraries(pluginval PRIVATE
-static-libstdc++)
endif()

0 comments on commit a1e1d72

Please sign in to comment.