Skip to content
Snippets Groups Projects
Commit 7022c3c1 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Added CMOR version number.

parent 0f8ec0fe
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,10 @@
#include <proj_api.h>
#endif
#if defined(HAVE_LIBCMOR)
#include "cmor.h"
#endif
#include <stdio.h>
#include <string.h>
......@@ -150,6 +154,13 @@ void printLibraries(void)
fprintf(stderr, "/%g", PJ_VERSION*0.01);
#endif
#endif
#if defined(HAVE_LIBCMOR)
fprintf(stderr, " CMOR");
#if defined(CMOR_VERSION_MAJOR)
fprintf(stderr, "/%u.%u.%u", CMOR_VERSION_MAJOR, CMOR_VERSION_MINOR, CMOR_VERSION_PATCH);
#endif
#endif
#if defined(HAVE_LIBXML2)
fprintf(stderr, " xml2");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment