summaryrefslogtreecommitdiffstats
path: root/Tests/FindLibXslt/Test/libexslt.c
diff options
context:
space:
mode:
authorMarkus Rickert <rickert@fortiss.org>2020-04-22 19:27:25 (GMT)
committerMarkus Rickert <rickert@fortiss.org>2020-04-28 17:14:03 (GMT)
commit1aa7df411474cd183af7049f3a53c8ac6be75a61 (patch)
treef49f9ccf76b852b76da8578105302479195a20ec /Tests/FindLibXslt/Test/libexslt.c
parentdd506714f40c16d922ad5f78f3fcf0bdd78a5d02 (diff)
downloadCMake-1aa7df411474cd183af7049f3a53c8ac6be75a61.zip
CMake-1aa7df411474cd183af7049f3a53c8ac6be75a61.tar.gz
CMake-1aa7df411474cd183af7049f3a53c8ac6be75a61.tar.bz2
FindLibXslt: provide imported targets
Diffstat (limited to 'Tests/FindLibXslt/Test/libexslt.c')
-rw-r--r--Tests/FindLibXslt/Test/libexslt.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/Tests/FindLibXslt/Test/libexslt.c b/Tests/FindLibXslt/Test/libexslt.c
new file mode 100644
index 0000000..ea6eb3d
--- /dev/null
+++ b/Tests/FindLibXslt/Test/libexslt.c
@@ -0,0 +1,16 @@
+#include <libexslt/exslt.h>
+#include <libxslt/xslt.h>
+#include <libxslt/xsltInternals.h>
+
+int main()
+{
+ xsltInit();
+
+ xsltStylesheet* style = xsltNewStylesheet();
+ exsltRegisterAll();
+ xsltFreeStylesheet(style);
+
+ xsltCleanupGlobals();
+
+ return 0;
+}