Commit e8bbd57e authored by Nico Schlömer's avatar Nico Schlömer

add XDMF_PATCH_VERSION

parent 609f5123
......@@ -16,7 +16,8 @@ set(XDMF_LIBNAME "Xdmf" CACHE STRING "Name for this xdmf library to avoid collis
set(XDMF_MAJOR_VERSION 3)
set(XDMF_MINOR_VERSION 0)
set(XDMF_VERSION "${XDMF_MAJOR_VERSION}.${XDMF_MINOR_VERSION}")
set(XDMF_PATCH_VERSION 0)
set(XDMF_VERSION "${XDMF_MAJOR_VERSION}.${XDMF_MINOR_VERSION}.${XDMF_PATCH_VERSION}")
if(BUILD_SHARED_LIBS)
set(LIBTYPE SHARED)
......
......@@ -12,8 +12,7 @@ if(VERSION_CONTROL_AUTOUPDATE OR
NOT EXISTS ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/XdmfVersion.hpp)
VersionCreate(
"Xdmf"
"${XDMF_MAJOR_VERSION}"
"${XDMF_MAJOR_VERSION}" "${XDMF_MINOR_VERSION}"
"${XDMF_MAJOR_VERSION}" "${XDMF_MINOR_VERSION}" "${XDMF_PATCH_VERSION}"
"XDMFCORE_EXPORT" "XdmfCore.hpp"
)
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment