Skip to content

Commit

Permalink
fix dev warning
Browse files Browse the repository at this point in the history
  • Loading branch information
derselbst committed Dec 22, 2024
1 parent 0fda7d7 commit 882a07b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake_admin/FindSndFileLegacy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand All @@ -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)
Expand Down

0 comments on commit 882a07b

Please sign in to comment.