diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index f0c7423a7..a038d2f03 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -12,8 +12,8 @@ jobs: config: - { name: "macOS", - os: macos-11, - extra_options: "-DBUILD_PK3=ON", + os: macos-12, + extra_options: "-DBUILD_PK3=ON", deps_cmdline: "brew install fluidsynth freeimage ftgl lua mpg123 sfml wxwidgets" } - { diff --git a/cmake/unix.cmake b/cmake/unix.cmake index 08cdc8657..eb82679e8 100644 --- a/cmake/unix.cmake +++ b/cmake/unix.cmake @@ -186,7 +186,7 @@ target_link_libraries(slade ${MPG123_LIBRARIES} ) -if(LINUX) +if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION LESS 9) target_link_libraries(slade -lstdc++fs) endif()