summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2011-12-06 15:30:30 +0200
committerLaszlo Papp <ext-laszlo.papp@nokia.com>2011-12-06 15:30:30 +0200
commit223688f4e269b0a8dd88fcec1af32f06bf79af74 (patch)
tree14a17b404c8a9994a68b29da2bdb29dec3205420
parent4cc74ec8bf4a2306ad04e6539c96134d3534dbd6 (diff)
Remove the FindSndFile.cmake module since it is already available upstream
-rw-r--r--cmake/FindSndFile.cmake49
1 files changed, 0 insertions, 49 deletions
diff --git a/cmake/FindSndFile.cmake b/cmake/FindSndFile.cmake
deleted file mode 100644
index 622914c..0000000
--- a/cmake/FindSndFile.cmake
+++ /dev/null
@@ -1,49 +0,0 @@
-# - Try to find SndFile
-# Once done this will define
-#
-# SNDFILE_FOUND - system has SndFile
-# SNDFILE_INCLUDE_DIRS - the SndFile include directory
-# SNDFILE_LIBRARIES - Link these to use SndFile
-#
-# Copyright © 2006 Wengo
-# Copyright © 2009 Guillaume Martres
-#
-# Redistribution and use is allowed according to the terms of the New
-# BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-#
-
-find_path(SNDFILE_INCLUDE_DIR
- NAMES
- sndfile.h
- PATHS
- /usr/include
- /usr/local/include
- /opt/local/include
- /sw/include
-)
-
-find_library(SNDFILE_LIBRARY
- NAMES
- sndfile sndfile-1
- PATHS
- /usr/lib
- /usr/local/lib
- /opt/local/lib
- /sw/lib
-)
-
-set(SNDFILE_INCLUDE_DIRS
- ${SNDFILE_INCLUDE_DIR}
-)
-set(SNDFILE_LIBRARIES
- ${SNDFILE_LIBRARY}
-)
-
-INCLUDE(FindPackageHandleStandardArgs)
-# handle the QUIETLY and REQUIRED arguments and set SNDFILE_FOUND to TRUE if
-# all listed variables are TRUE
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(SndFile DEFAULT_MSG SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)
-
-# show the SNDFILE_INCLUDE_DIRS and SNDFILE_LIBRARIES variables only in the advanced view
-mark_as_advanced(SNDFILE_INCLUDE_DIRS SNDFILE_LIBRARIES)