You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
540 B
25 lines
540 B
4 years ago
|
#include <libxslt/xslt.h>
|
||
|
#include <libxslt/xsltInternals.h>
|
||
|
#include <libxslt/xsltconfig.h>
|
||
|
#include <stdio.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
xsltInit();
|
||
|
|
||
|
xsltStylesheet* style = xsltNewStylesheet();
|
||
|
xsltFreeStylesheet(style);
|
||
|
|
||
|
if (0 != strcmp(CMAKE_EXPECTED_LibXslt_VERSION, LIBXSLT_DOTTED_VERSION)) {
|
||
|
printf("CMAKE_EXPECTED_LibXslt_VERSION: '%s'\n",
|
||
|
CMAKE_EXPECTED_LibXslt_VERSION);
|
||
|
printf("LIBXSLT_DOTTED_VERSION: '%s'\n", LIBXSLT_DOTTED_VERSION);
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
xsltCleanupGlobals();
|
||
|
|
||
|
return 0;
|
||
|
}
|