From 8e002f173664224c53ea8186c005c0f6efa93d8d Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Mon, 18 May 2026 20:59:40 +0100 Subject: [PATCH 1/2] Add find_package(FLAC) for when !ENABLE_EXTERNAL_LIBRARIES --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f6501e43a..34e5c3761 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -903,6 +903,7 @@ if (NOT ENABLE_EXTERNAL_LIBRARIES OR (ENABLE_EXTERNAL_LIBRARIES STREQUAL "AUTO") find_package(GGMorse) find_package(LibInmarsatC) find_package(RNnoise) + find_package(FLAC) # Devices if(ENABLE_AIRSPY) From 37b6b3a601de406bbcefa1b907087e0221436052 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Mon, 18 May 2026 21:02:39 +0100 Subject: [PATCH 2/2] Use FLAC_LIBRARIES, as that's what's used elsewhere. --- cmake/Modules/FindFLAC.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/FindFLAC.cmake b/cmake/Modules/FindFLAC.cmake index f6af1b52a..e75f67b62 100644 --- a/cmake/Modules/FindFLAC.cmake +++ b/cmake/Modules/FindFLAC.cmake @@ -11,7 +11,7 @@ IF(NOT FLAC_FOUND) ) FIND_LIBRARY( - FLAC_LIBRARY + FLAC_LIBRARIES NAMES FLAC libFLAC HINTS ${FLAC_DIR}/lib