From 6ad49e2e713c4129e5a3ae7904e48cc967bc8a3e Mon Sep 17 00:00:00 2001 From: derselbst Date: Sun, 22 Dec 2024 14:51:12 +0100 Subject: [PATCH] fix build? --- .github/workflows/linux.yml | 2 +- cmake_admin/FindSndFileLegacy.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index b5aa5d667..e633224e8 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -30,7 +30,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: ["ubuntu-20.04", "ubuntu-22.04", "ubuntu-24.04"] + os: ["ubuntu-20.04"] CC: [""] CXX: [""] CMAKE_FLAGS: ["-Denable-profiling=1","-Denable-floats=1 -Denable-profiling=1","-Denable-floats=1","-Denable-trap-on-fpe=1","-Denable-fpe-check=1","-Denable-ipv6=0","-Denable-network=0","-Denable-aufile=0","-DBUILD_SHARED_LIBS=0","-Denable-ubsan=1 -Denable-debug=1", "-Denable-debug=1 -DCMAKE_C_FLAGS_DEBUG=-fuse-ld=gold"] diff --git a/cmake_admin/FindSndFileLegacy.cmake b/cmake_admin/FindSndFileLegacy.cmake index 71a37b9b8..4565110b0 100644 --- a/cmake_admin/FindSndFileLegacy.cmake +++ b/cmake_admin/FindSndFileLegacy.cmake @@ -159,7 +159,7 @@ find_package_handle_standard_args( REQUIRED_VARS "_sndfile_library" "SndFile_INCLUDE_DIR" VERSION_VAR "SndFile_VERSION") -if(SndFile_FOUND AND NOT TARGET SndFile::sndfile) +if(SndFileLegacy_FOUND AND NOT TARGET SndFile::sndfile) add_library(SndFile::sndfile UNKNOWN IMPORTED) set_target_properties( SndFile::sndfile