зеркало из https://github.com/microsoft/DirectXTK.git
20 строки
547 B
CMake
20 строки
547 B
CMake
@PACKAGE_INIT@
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake)
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
set(BUILD_XAUDIO_WIN10 @BUILD_XAUDIO_WIN10@)
|
|
set(BUILD_XAUDIO_WIN8 @BUILD_XAUDIO_WIN8@)
|
|
set(BUILD_XAUDIO_WIN7 @BUILD_XAUDIO_WIN7@)
|
|
if (BUILD_XAUDIO_WIN7 AND (NOT BUILD_XAUDIO_WIN10) AND (NOT BUILD_XAUDIO_WIN8) AND (NOT WINDOWS_STORE))
|
|
find_dependency(xaudio2redist CONFIG)
|
|
endif()
|
|
|
|
if(MINGW)
|
|
find_dependency(directxmath)
|
|
else()
|
|
find_package(directxmath CONFIG QUIET)
|
|
endif()
|
|
|
|
check_required_components("@PROJECT_NAME@")
|