Skip to content

Commit f2c1c5d

Browse files
committed
style: conform to pre-commit on vcpkg-cmake-module
Signed-off-by: msclock <[email protected]>
1 parent 13357a0 commit f2c1c5d

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
if(NOT TARGET_TRIPLET STREQUAL _HOST_TRIPLET)
2-
message(WARNING "${PORT} is a host-only port; please mark it as a host port in your dependencies.")
2+
message(
3+
WARNING
4+
"${PORT} is a host-only port; please mark it as a host port in your dependencies."
5+
)
36
endif()
47

5-
file(INSTALL
6-
"${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_module.cmake"
7-
"${CMAKE_CURRENT_LIST_DIR}/vcpkg-port-config.cmake"
8-
"${CMAKE_CURRENT_LIST_DIR}/copyright"
9-
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
8+
file(
9+
INSTALL "${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_module.cmake"
10+
"${CMAKE_CURRENT_LIST_DIR}/vcpkg-port-config.cmake"
11+
"${CMAKE_CURRENT_LIST_DIR}/copyright"
12+
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
1013

1114
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)

ports/vcpkg-cmake-module/vcpkg.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vcpkg-cmake-module",
3-
"version-date": "2023-10-11",
4-
"port-version": 2,
3+
"version-date": "2023-10-12",
4+
"port-version": 0,
55
"license": "MIT"
66
}

versions/baseline.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"port-version": 0
1010
},
1111
"vcpkg-cmake-module": {
12-
"baseline": "2023-10-11",
13-
"port-version": 2
12+
"baseline": "2023-10-12",
13+
"port-version": 0
1414
}
1515
}
1616
}

versions/v-/vcpkg-cmake-module.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"version-date": "2023-10-12",
5+
"git-tree": "57601bc2fb34fb23d9d2213dc3b8c58a526d15a7",
6+
"port-version": 0
7+
},
38
{
49
"version-date": "2023-10-11",
510
"git-tree": "b070717c7a2a4af190f9be0622c30c578d8026ef",

0 commit comments

Comments
 (0)