libsoundio/cmake/FindCoreAudio.cmake

17 lines
475 B
CMake
Raw Permalink Normal View History

2015-08-01 01:52:51 +00:00
# Copyright (c) 2015 Andrew Kelley
# This file is MIT licensed.
# See http://opensource.org/licenses/MIT
# COREAUDIO_FOUND
# COREAUDIO_INCLUDE_DIR
# COREAUDIO_LIBRARY
2015-08-04 05:27:09 +00:00
find_path(COREAUDIO_INCLUDE_DIR NAMES CoreAudio/CoreAudio.h)
2015-08-01 01:52:51 +00:00
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)