Skip to content

Commit 1cd0277

Browse files
committed
perf: conform to vcpkg-cmake-module
Signed-off-by: msclock <[email protected]>
1 parent b49c2ee commit 1cd0277

File tree

8 files changed

+18
-8
lines changed

8 files changed

+18
-8
lines changed

ports/cmake-cpm/portfile.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ vcpkg_from_github(
1212
vcpkg_replace_string(${SOURCE_PATH}/cmake/CPM.cmake
1313
[[1.0.0-development-version]] ${VERSION})
1414

15-
vcpkg_cmake_module(FILE_LIST ${SOURCE_PATH}/cmake/CPM.cmake)
15+
vcpkg_cmake_module(PATH_LIST ${SOURCE_PATH}/cmake/CPM.cmake)
1616

1717
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage
1818
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})

ports/cmake-cpm/vcpkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "cmake-cpm",
33
"version": "0.38.6",
4-
"port-version": 1,
4+
"port-version": 2,
55
"description": "CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.",
66
"homepage": "https://github.com/cpm-cmake/CPM.cmake",
77
"license": "MIT",

ports/cmake-modules/portfile.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ vcpkg_from_github(
99
c34774e2969836e17f76d08480a4979fbf6e4066079e6f53af020bf0db6a55a3b7df35fb4e52b0143371029d9c3744ee373fdde236d8d97a36889778ceb6f883
1010
)
1111

12-
vcpkg_cmake_module(DIRECTORY_LIST ${SOURCE_PATH}/cmake/)
12+
file(GLOB items ${SOURCE_PATH}/cmake/*)
13+
vcpkg_cmake_module(PATH_LIST ${items})
1314

1415
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage
1516
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})

ports/cmake-modules/usage

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
The package cmake-modules provides modules:
22

33
find_package(cmake-modules REQUIRED)
4+
# More modules can refer to <https://github.com/msclock/cmake-modules>.
45
include(cmake-modules/build/Default)
5-
6-
More modules can refer to <https://github.com/msclock/cmake-modules>.

ports/cmake-modules/vcpkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "cmake-modules",
33
"version": "1.0.1",
4-
"port-version": 0,
4+
"port-version": 1,
55
"homepage": "https://github.com/msclock/cmake-modules",
66
"description": "Some useful cmake module collection",
77
"license": "Apache-2.0",

versions/baseline.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"default": {
33
"cmake-cpm": {
44
"baseline": "0.38.6",
5-
"port-version": 1
5+
"port-version": 2
66
},
77
"cmake-modules": {
88
"baseline": "1.0.1",
9-
"port-version": 0
9+
"port-version": 1
1010
},
1111
"vcpkg-cmake-module": {
1212
"baseline": "2023-10-12",

versions/c-/cmake-cpm.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": "0.38.6",
5+
"git-tree": "dc65a569f1b0dc498eeeda181afc96df2a9e8f37",
6+
"port-version": 2
7+
},
38
{
49
"version": "0.38.6",
510
"git-tree": "2de92725ab7eb097d47dd63d168e068a34e0a62d",

versions/c-/cmake-modules.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": "1.0.1",
5+
"git-tree": "ece65b31fcf1ec3b32b8a03365a07915c31da8f2",
6+
"port-version": 1
7+
},
38
{
49
"version": "1.0.1",
510
"git-tree": "e6311ea2cba3286b5b8785942859a6e97c7135b4",

0 commit comments

Comments
 (0)