From 882a07b9a378357c6f28f94e87ccf52494590671 Mon Sep 17 00:00:00 2001 From: derselbst Date: Sun, 22 Dec 2024 14:45:05 +0100 Subject: [PATCH] fix dev warning --- cmake_admin/FindSndFileLegacy.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake_admin/FindSndFileLegacy.cmake b/cmake_admin/FindSndFileLegacy.cmake index 271bb061f..71a37b9b8 100644 --- a/cmake_admin/FindSndFileLegacy.cmake +++ b/cmake_admin/FindSndFileLegacy.cmake @@ -155,7 +155,7 @@ endif() # Forward the result to CMake include(FindPackageHandleStandardArgs) find_package_handle_standard_args( - SndFile + SndFileLegacy REQUIRED_VARS "_sndfile_library" "SndFile_INCLUDE_DIR" VERSION_VAR "SndFile_VERSION") @@ -171,6 +171,7 @@ if(SndFile_FOUND AND NOT TARGET SndFile::sndfile) # Set additional variables for compatibility with upstream config set(SNDFILE_FOUND TRUE) + set(SndFile_FOUND TRUE) set(SndFile_LIBRARY SndFile::sndfile) set(SndFile_LIBRARIES SndFile::sndfile) set(SNDFILE_LIBRARY SndFile::sndfile)