vcpkg/ports/xaudio2redist/vcpkg-cmake-wrapper.cmake
Chuck Walbourn b430ff7ec3
[xaudio2redist, directxtk] updated XAudio2 port to 1.2.8 and added cmake find (#20780)
* [xaudio2redist] updated for new version and added find_package support

* 1.2.7 didn't last long... on to 1.2.8

* baseline update

* Upstream change for directxtk port to use new find package

* update baseline

* Updated vcpkg_fail_port_install for Linux and OSX

* Update ports/xaudio2redist/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* update baseline

* Added quotes per request

* Update baseline

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-10-25 14:34:38 -07:00

12 lines
332 B
CMake

message(STATUS "Using VCPKG Findxaudio2redist")
set(XAUDIO2_PREV_MODULE_PATH ${CMAKE_MODULE_PATH})
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
list(REMOVE_ITEM ARGS "NO_MODULE")
list(REMOVE_ITEM ARGS "CONFIG")
list(REMOVE_ITEM ARGS "MODULE")
_find_package(${ARGS})
set(CMAKE_MODULE_PATH ${XAUDIO2_PREV_MODULE_PATH})