Skip to content

Commit

Permalink
Update portfile.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Pospelove authored Feb 14, 2025
1 parent bb6817a commit 64fedc5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion overlay_ports/makeid/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# Line endings handling
if(VCPKG_TARGET_IS_WINDOWS)
set(SHA_EXPECTED b4993d53cd2b7f967982fb3a2277070a58b7f80528cffd6588280dea2e919dce710174a9a56e46a1b978786831a14bb8a9b49f93b93aa09ddcf097deb2ea73fe)
else()
set(SHA_EXPECTED cb5fffe9958915da46ada56e478c118c53e90f0ec9cfe72d992acf4b5e8353d917b44ca260f91e145eb46468357adc792bb1da48fb21d0fbec64efb27c3375b6)
endif()

vcpkg_download_distfile(ARCHIVE
URLS "file://${CMAKE_CURRENT_LIST_DIR}/MakeID.h"
FILENAME "MakeID.h-${VERSION}"
SHA512 b4993d53cd2b7f967982fb3a2277070a58b7f80528cffd6588280dea2e919dce710174a9a56e46a1b978786831a14bb8a9b49f93b93aa09ddcf097deb2ea73fe
SHA512 "${SHA_EXPECTED}"
)

file(INSTALL "${ARCHIVE}" DESTINATION "${CURRENT_PACKAGES_DIR}/include" RENAME "MakeID.h")
Expand Down

0 comments on commit 64fedc5

Please sign in to comment.