summaryrefslogtreecommitdiffstats
path: root/cmake/Modules/FindPortaudio.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/FindPortaudio.cmake')
-rw-r--r--cmake/Modules/FindPortaudio.cmake35
1 files changed, 0 insertions, 35 deletions
diff --git a/cmake/Modules/FindPortaudio.cmake b/cmake/Modules/FindPortaudio.cmake
deleted file mode 100644
index 3f23a9c..0000000
--- a/cmake/Modules/FindPortaudio.cmake
+++ /dev/null
@@ -1,35 +0,0 @@
-# - Try to find Portaudio
-# Once done this will define
-#
-# PORTAUDIO_FOUND - system has Portaudio
-# PORTAUDIO_INCLUDE_DIRS - the Portaudio include directory
-# PORTAUDIO_LIBRARIES - Link these to use Portaudio
-
-include(FindPkgConfig)
-pkg_check_modules(PC_PORTAUDIO portaudio-2.0)
-
-find_path(PORTAUDIO_INCLUDE_DIRS
- NAMES
- portaudio.h
- PATHS
- /usr/local/include
- /usr/include
- HINTS
- ${PC_PORTAUDIO_INCLUDE_DIR}
-)
-
-find_library(PORTAUDIO_LIBRARIES
- NAMES
- portaudio
- PATHS
- /usr/local/lib
- /usr/lib
- /usr/lib64
- HINTS
- ${PC_PORTAUDIO_LIBDIR}
-)
-
-mark_as_advanced(PORTAUDIO_INCLUDE_DIRS PORTAUDIO_LIBRARIES)
-
-INCLUDE(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(PORTAUDIO DEFAULT_MSG PORTAUDIO_INCLUDE_DIRS PORTAUDIO_LIBRARIES)