Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zenny-atomic] update port for later vcpkg versions #123

Merged
merged 2 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions ports/zenny-atomic/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ vcpkg_from_github(
REF cce17a78911a43e9f963c31d172b2deee56f826e
SHA512 db540b661ac42be33829f790f0d4a7084ece20ddec829b37fa2d4d2a6a15bead7a0b0475bb31b4cba9168224b3d0c2292f9dbf1fbf3a2d2a49e9466acb4c9387
)
file(COPY ${CURRENT_PORT_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
file(COPY "${CURRENT_PORT_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")

vcpkg_configure_cmake(SOURCE_PATH ${SOURCE_PATH})
vcpkg_install_cmake()
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
vcpkg_cmake_install()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
9 changes: 8 additions & 1 deletion ports/zenny-atomic/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
{
"name": "zenny-atomic",
"version-date": "2021-10-15",
"port-version": 1,
"description": "Simple <stdatomic.h>, <stdalign.h> and <threads.h> implementation for MSVC in Visual Studio 2019",
"homepage": "https://github.com/zenny-chen/simple-stdatomic-for-VS-Clang",
"license": "Apache-2.0",
"supports": "windows"
"supports": "windows",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
},
"zenny-atomic": {
"baseline": "2021-10-15",
"port-version": 0
"port-version": 1
},
"zlib-ng": {
"baseline": "2.0.7",
Expand Down
5 changes: 5 additions & 0 deletions versions/z-/zenny-atomic.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "0877339a1290d5eb58c75647015dbf309fd4bf88",
"version-date": "2021-10-15",
"port-version": 1
},
{
"git-tree": "b6fcda91ac8276525056a95132c3563052b9532a",
"version-date": "2021-10-15",
Expand Down