summaryrefslogtreecommitdiff
path: root/Tests/FindLibXml2/CMakeLists.txt
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2018-03-05 23:42:35 +0100
committerRolf Eike Beer <eike@sf-mail.de>2018-03-08 18:31:12 +0100
commit9ef3abd3f39542ecbdfda0014a7f1b4c3bea50a9 (patch)
treeaff61661ec3b78f7b2ce0017b3e5f36c76636efd /Tests/FindLibXml2/CMakeLists.txt
parent156a959410cfbd33c648e7b8993d32fd8f9af00a (diff)
downloadcmake-9ef3abd3f39542ecbdfda0014a7f1b4c3bea50a9.tar.gz
FindLibXml2: provide imported target LibXml2::LibXml2
Diffstat (limited to 'Tests/FindLibXml2/CMakeLists.txt')
-rw-r--r--Tests/FindLibXml2/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FindLibXml2/CMakeLists.txt b/Tests/FindLibXml2/CMakeLists.txt
new file mode 100644
index 0000000000..6c2464fd96
--- /dev/null
+++ b/Tests/FindLibXml2/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_test(NAME FindLibXml2.Test COMMAND
+ ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindLibXml2/Test"
+ "${CMake_BINARY_DIR}/Tests/FindLibXml2/Test"
+ ${build_generator_args}
+ --build-project TestFindLibXml2
+ --build-options ${build_options}
+ --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
+ )