vcpkg/ports/dxut/portfile.cmake
Chuck Walbourn 8d2e732b73
[dxut, fx11, directxmath] ports updated (#18431)
* [dxut] port updated for latest servicing

* update baseline

* Update to use latest DirectXMath

* Fix baseline

* fx11 metadata update

* Updated baseline

* Converted directxmath CONTROL to vcpkg.json

* Update baseline

* Apply suggestions from code review

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

* Code review feedback

* Update baseline

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-06-21 14:19:46 -07:00

24 lines
670 B
CMake

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_fail_port_install(ON_TARGET "LINUX" "OSX" "UWP" "ANDROID")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO microsoft/DXUT
REF jun2021
SHA512 4c95cefcf685e95b26677d0aba3d118df7860e3bf1b99b567013d326f890a3f67657be2c60677d3d996cccacce30f70d0c2fc60a692372053cce50318fa79a70
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)