9a745292bd
* Make OpenALConfig.cmake compatible with CMake's FindOpenAL.cmake * Create and install OpenALConfigVersion.cmake * cmake: drop creating of OpenALConfigVersion.cmake
10 lines
385 B
CMake
10 lines
385 B
CMake
cmake_minimum_required(VERSION 3.1)
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/OpenALTargets.cmake")
|
|
|
|
set(OPENAL_FOUND ON)
|
|
set(OPENAL_INCLUDE_DIR $<TARGET_PROPERTY:OpenAL::OpenAL,INTERFACE_INCLUDE_DIRECTORIES>)
|
|
set(OPENAL_LIBRARY $<LINK_ONLY:OpenAL::OpenAL>)
|
|
set(OPENAL_DEFINITIONS $<TARGET_PROPERTY:OpenAL::OpenAL,INTERFACE_COMPILE_DEFINITIONS>)
|
|
set(OPENAL_VERSION_STRING @PACKAGE_VERSION@)
|