Skip to content

Commit 231e9a8

Browse files
committed
cmake: ext deps
1 parent eec1228 commit 231e9a8

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

build/cmake/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ project(${name})
77
# Otherwise VCPKG does not set the CMAKE_PREFIX_PATH to find packages.
88
find_package(myci CONFIG REQUIRED)
99

10+
find_package(ZLIB REQUIRED)
11+
1012
set(srcs)
1113
myci_add_source_files(srcs
1214
DIRECTORY
@@ -28,5 +30,5 @@ myci_declare_library(${name}
2830
mikroxml
2931
cssom
3032
EXTERNAL_DEPENDENCIES
31-
ZLIB
33+
ZLIB::ZLIB
3234
)

build/vcpkg/test/vcpkg-configuration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{
99
"kind": "git",
1010
"repository": "https://github.com/cppfw/vcpkg-repo/",
11-
"baseline": "ee37b99a01227fddb2e59efa05335f0de2111cdc",
11+
"baseline": "c7ff7bc78fe617434cc09c52b5eb111d568197c1",
1212
"reference": "main",
1313
"packages": [ "myci", "utki", "papki", "mikroxml", "cssom", "r4" ]
1414
}

0 commit comments

Comments
 (0)