Commit 609f5123 authored by Nico Schlömer's avatar Nico Schlömer

use ${XDMF_M**OR_VERSION} in version_create

parent 46d2b395
......@@ -10,7 +10,12 @@ include(TestBigEndian)
if(VERSION_CONTROL_AUTOUPDATE OR
NOT EXISTS ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/XdmfVersion.hpp)
VersionCreate("Xdmf" "3" "3" "0" "XDMFCORE_EXPORT" "XdmfCore.hpp")
VersionCreate(
"Xdmf"
"${XDMF_MAJOR_VERSION}"
"${XDMF_MAJOR_VERSION}" "${XDMF_MINOR_VERSION}"
"XDMFCORE_EXPORT" "XdmfCore.hpp"
)
endif()
if(BUILD_SHARED_LIBS)
......
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