diff options
Diffstat (limited to 'vcpkg/ports/libpopcnt/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/libpopcnt/portfile.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/libpopcnt/portfile.cmake b/vcpkg/ports/libpopcnt/portfile.cmake new file mode 100644 index 0000000..9e61a5a --- /dev/null +++ b/vcpkg/ports/libpopcnt/portfile.cmake @@ -0,0 +1,13 @@ +set(VCPKG_BUILD_TYPE release) # Header-only library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO kimwalisch/libpopcnt + REF "v${VERSION}" + SHA512 b01f1446c951b848357ed01e31cb2d1014639ba854710edcc5703b69226b9ca2e65c84d78308cf345654fbfc92ce467bb5a5171158db5b94f979674efb59f6dc + HEAD_REF master +) + +file(COPY "${SOURCE_PATH}/libpopcnt.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |