pineapple-src/externals/vcpkg/ports/dx/portfile.cmake

20 lines
505 B
CMake
Raw Normal View History

2022-07-23 03:01:36 +02:00
#header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sdcb/dx
REF v1.0.1
SHA512 b40eb4daf774bfdb394b207bb29652fbf44361f5d8f9b60509c7a3215cd403dbf0c10454979c0c2e97d839496ef20940070a42837375993cd67d58afacc990e0
HEAD_REF master
)
file(INSTALL
${SOURCE_PATH}/dx.h
${SOURCE_PATH}/debug.h
${SOURCE_PATH}/handle.h
DESTINATION ${CURRENT_PACKAGES_DIR}/include/dx
)
file(INSTALL
${SOURCE_PATH}/LICENSE
DESTINATION ${CURRENT_PACKAGES_DIR}/share/dx RENAME copyright)