Added versionstrings
@@ -75,6 +75,11 @@ if (NOT PUPNP_VERSION_STRING)
endif()
project (PUPNP VERSION ${PUPNP_VERSION_STRING} LANGUAGES C)
+set (UPNP_VERSION_MAJOR ${PUPNP_VERSION_MAJOR})
+set (UPNP_VERSION_MINOR ${PUPNP_VERSION_MINOR})
+set (UPNP_VERSION_PATCH ${PUPNP_VERSION_PATCH})
+set (UPNP_VERSION_STRING ${PUPNP_VERSION_STRING})
+
include (GNUInstallDirs)
if (WIN32)
