File: FindCoreAudio.cmake

package info (click to toggle)
libsoundio 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 864 kB
  • sloc: ansic: 12,025; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 475 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright (c) 2015 Andrew Kelley
# This file is MIT licensed.
# See http://opensource.org/licenses/MIT

# COREAUDIO_FOUND
# COREAUDIO_INCLUDE_DIR
# COREAUDIO_LIBRARY

find_path(COREAUDIO_INCLUDE_DIR NAMES CoreAudio/CoreAudio.h)

find_library(COREAUDIO_LIBRARY NAMES CoreAudio)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(COREAUDIO DEFAULT_MSG COREAUDIO_LIBRARY COREAUDIO_INCLUDE_DIR)

mark_as_advanced(COREAUDIO_INCLUDE_DIR COREAUDIO_LIBRARY)