Skip to content

Commit

Permalink
style: conform to pre-commit on vcpkg-cmake-module
Browse files Browse the repository at this point in the history
Signed-off-by: msclock <[email protected]>
  • Loading branch information
msclock committed Oct 12, 2023
1 parent 13357a0 commit f2c1c5d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
15 changes: 9 additions & 6 deletions ports/vcpkg-cmake-module/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
if(NOT TARGET_TRIPLET STREQUAL _HOST_TRIPLET)
message(WARNING "${PORT} is a host-only port; please mark it as a host port in your dependencies.")
message(
WARNING
"${PORT} is a host-only port; please mark it as a host port in your dependencies."
)
endif()

file(INSTALL
"${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_module.cmake"
"${CMAKE_CURRENT_LIST_DIR}/vcpkg-port-config.cmake"
"${CMAKE_CURRENT_LIST_DIR}/copyright"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
file(
INSTALL "${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_module.cmake"
"${CMAKE_CURRENT_LIST_DIR}/vcpkg-port-config.cmake"
"${CMAKE_CURRENT_LIST_DIR}/copyright"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
4 changes: 2 additions & 2 deletions ports/vcpkg-cmake-module/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vcpkg-cmake-module",
"version-date": "2023-10-11",
"port-version": 2,
"version-date": "2023-10-12",
"port-version": 0,
"license": "MIT"
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"port-version": 0
},
"vcpkg-cmake-module": {
"baseline": "2023-10-11",
"port-version": 2
"baseline": "2023-10-12",
"port-version": 0
}
}
}
5 changes: 5 additions & 0 deletions versions/v-/vcpkg-cmake-module.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"version-date": "2023-10-12",
"git-tree": "57601bc2fb34fb23d9d2213dc3b8c58a526d15a7",
"port-version": 0
},
{
"version-date": "2023-10-11",
"git-tree": "b070717c7a2a4af190f9be0622c30c578d8026ef",
Expand Down

0 comments on commit f2c1c5d

Please sign in to comment.