diff options
Diffstat (limited to 'vcpkg/ports/kdalgorithms/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/kdalgorithms/portfile.cmake | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/kdalgorithms/portfile.cmake b/vcpkg/ports/kdalgorithms/portfile.cmake new file mode 100644 index 0000000..7c025d6 --- /dev/null +++ b/vcpkg/ports/kdalgorithms/portfile.cmake @@ -0,0 +1,15 @@ +# header-only library +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO KDAB/KDAlgorithms + REF ${VERSION} + SHA512 5d877b8aa16aae870276a542554aa1b39ae2daa863e77ebaa248ca1427a92179611dd7c7cd98e88fc6a406905f404f052f9c891b8a49d64582dfc2ba857118f6 +) + +file(INSTALL "${SOURCE_PATH}/src/kdalgorithms.h" "${SOURCE_PATH}/src/kdalgorithms_bits" + DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt") + +file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" + DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") |