#include #include #include #include #include int main(void) { 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; }