summaryrefslogtreecommitdiffstats
path: root/cmake/FindSndFile.cmake
diff options
context:
space:
mode:
authorAnonymous Maarten <anonymous.maarten@gmail.com>2020-12-06 19:12:35 +0100
committershfil <filip.gawin@zoho.com>2021-01-11 11:24:25 +0100
commit8d0b4ede684df25e142b94fede4cbb15e4f6fb57 (patch)
tree92446485905b957c546b265f939b8ee06ca5d656 /cmake/FindSndFile.cmake
parentaudio: only use #pragma comment(lib, "xxx.lib") on MSVC (diff)
downloadre3-8d0b4ede684df25e142b94fede4cbb15e4f6fb57.tar
re3-8d0b4ede684df25e142b94fede4cbb15e4f6fb57.tar.gz
re3-8d0b4ede684df25e142b94fede4cbb15e4f6fb57.tar.bz2
re3-8d0b4ede684df25e142b94fede4cbb15e4f6fb57.tar.lz
re3-8d0b4ede684df25e142b94fede4cbb15e4f6fb57.tar.xz
re3-8d0b4ede684df25e142b94fede4cbb15e4f6fb57.tar.zst
re3-8d0b4ede684df25e142b94fede4cbb15e4f6fb57.zip
Diffstat (limited to 'cmake/FindSndFile.cmake')
-rw-r--r--cmake/FindSndFile.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmake/FindSndFile.cmake b/cmake/FindSndFile.cmake
index 05ef0510..f0e2883e 100644
--- a/cmake/FindSndFile.cmake
+++ b/cmake/FindSndFile.cmake
@@ -8,7 +8,7 @@
# SNDFILE_INCLUDE_DIRS - the libsndfile include directory
# SNDFILE_LIBRARIES - Link these to use libsndfile
# SNDFILE_CFLAGS - Compile options to use libsndfile
-# SndFile::SNdFile - Imported library of libsndfile
+# SndFile::SndFile - Imported library of libsndfile
#
# Copyright (C) 2006 Wengo
#
@@ -48,15 +48,15 @@ find_library(SNDFILE_LIBRARY
set(SNDFILE_CFLAGS "${PKG_SNDFILE_CFLAGS_OTHER}" CACHE STRING "CFLAGS of libsndfile")
-set(SNDFILE_INCLUDE_DIRS ${SNDFILE_INCLUDE_DIR})
-set(SNDFILE_LIBRARIES ${SNDFILE_LIBRARY})
+set(SNDFILE_INCLUDE_DIRS "${SNDFILE_INCLUDE_DIR}")
+set(SNDFILE_LIBRARIES "${SNDFILE_LIBRARY}")
if (SNDFILE_INCLUDE_DIRS AND SNDFILE_LIBRARIES)
set(SNDFILE_FOUND TRUE)
endif (SNDFILE_INCLUDE_DIRS AND SNDFILE_LIBRARIES)
-# handle the QUIETLY and REQUIRED arguments and set SNdFile_FOUND to TRUE if
+# handle the QUIETLY and REQUIRED arguments and set SndFile_FOUND to TRUE if
# all listed variables are TRUE
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(SndFile DEFAULT_MSG SNDFILE_INCLUDE_DIRS SNDFILE_LIBRARIES)