mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 13:19:23 +08:00
20 lines
505 B
CMake
20 lines
505 B
CMake
#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)
|