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

13 lines
509 B
CMake
Raw Normal View History

2022-07-23 01:01:36 +00:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO vurtun/mmx
REF b99867658dadcaed2fbfb95ad0e0c461a7a80a0c
SHA512 3ad01562f439fac364c45d9e4091d136c7cec36adeab219773c2df0d32b09f4e258bdb11884cbeed7dc2835381d2b409c55fe80e0913e995e54a1b7ebbe0f2bc
HEAD_REF master
)
file(GLOB_RECURSE MMX_HEADERS "${SOURCE_PATH}/*.h")
file(INSTALL ${MMX_HEADERS} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/copyright DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})