summaryrefslogtreecommitdiff
path: root/portaudio/cmake_support/FindASIOSDK.cmake
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-08-27 23:52:56 -0500
committersanine <sanine.not@pm.me>2022-08-27 23:52:56 -0500
commita4dd0ad63c00f4dee3b86dfd3075d1d61b2b3180 (patch)
tree13bd5bfa15e6fea2a12f176bae79adf9c6fd0933 /portaudio/cmake_support/FindASIOSDK.cmake
parentbde3e4f1bb7b8f8abca0884a7d994ee1c17a66b1 (diff)
add plibsys
Diffstat (limited to 'portaudio/cmake_support/FindASIOSDK.cmake')
-rw-r--r--portaudio/cmake_support/FindASIOSDK.cmake41
1 files changed, 0 insertions, 41 deletions
diff --git a/portaudio/cmake_support/FindASIOSDK.cmake b/portaudio/cmake_support/FindASIOSDK.cmake
deleted file mode 100644
index 55ad33d..0000000
--- a/portaudio/cmake_support/FindASIOSDK.cmake
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: $
-#
-# - Try to find the ASIO SDK
-# Once done this will define
-#
-# ASIOSDK_FOUND - system has ASIO SDK
-# ASIOSDK_ROOT_DIR - path to the ASIO SDK base directory
-# ASIOSDK_INCLUDE_DIR - the ASIO SDK include directory
-
-if(WIN32)
-else(WIN32)
- message(FATAL_ERROR "FindASIOSDK.cmake: Unsupported platform ${CMAKE_SYSTEM_NAME}" )
-endif(WIN32)
-
-file(GLOB results "${CMAKE_CURRENT_SOURCE_DIR}/../as*")
-foreach(f ${results})
- if(IS_DIRECTORY ${f})
- set(ASIOSDK_PATH_HINT ${ASIOSDK_PATH_HINT} ${f})
- endif()
-endforeach()
-
-find_path(ASIOSDK_ROOT_DIR
- common/asio.h
- HINTS
- ${ASIOSDK_PATH_HINT}
-)
-
-find_path(ASIOSDK_INCLUDE_DIR
- asio.h
- PATHS
- ${ASIOSDK_ROOT_DIR}/common
-)
-
-# handle the QUIETLY and REQUIRED arguments and set ASIOSDK_FOUND to TRUE if
-# all listed variables are TRUE
-INCLUDE(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(ASIOSDK DEFAULT_MSG ASIOSDK_ROOT_DIR ASIOSDK_INCLUDE_DIR)
-
-MARK_AS_ADVANCED(
- ASIOSDK_ROOT_DIR ASIOSDK_INCLUDE_DIR
-)