summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-12-17 00:54:44 +0800
committerruki <[email protected]>2021-12-17 00:54:44 +0800
commit0644c09d6c75a669f976f8d4bf67041c83c3f1d4 (patch)
tree1693dfa583329ca0e6b2d071726737463587aee9
parent1bb127c6ddb9ca7928f827f04160dde828e54925 (diff)
update cmake tests
-rw-r--r--tests/projects/package/cmake/xmake.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/projects/package/cmake/xmake.lua b/tests/projects/package/cmake/xmake.lua
index 48aa74660..b6490032d 100644
--- a/tests/projects/package/cmake/xmake.lua
+++ b/tests/projects/package/cmake/xmake.lua
@@ -1,11 +1,12 @@
add_rules("mode.debug", "mode.release")
add_requires("cmake::ZLIB", {system = true})
+add_requires("cmake::LibXml2", {system = true})
add_requires("cmake::Boost", {system = true,
configs = {components = {"regex", "system"}, presets = {Boost_USE_STATIC_LIB = true}}})
target("test")
set_kind("binary")
add_files("src/*.cpp")
- add_packages("cmake::ZLIB", "cmake::Boost")
+ add_packages("cmake::ZLIB", "cmake::Boost", "cmake::LibXml2")