annotate Resources/CMake/Version.cmake @ 1141:7681f3943748

Changed handling of DoseGridScaling: before this commit, rescaleSlope was set to the DoseGridScaling value if rescale* tags weren't present AND in the case of a dose. This caused issues in dose files where all three tags (DoseGridScaling, RescaleSlope and RescaleIntercept) were present, which previously led to the DoseGridScaling tag to be ignored. Now, the rescale* tags are *ignored* in dose files and DoseGridScaling is always taken into account.
author Benjamin Golinvaux <bgo@osimis.io>
date Fri, 08 Nov 2019 14:25:35 +0100
parents c2f0077bb5b8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
212
5412adf19980 resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 set(ORTHANC_STONE_VERSION "mainline")
5412adf19980 resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2
5412adf19980 resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 add_definitions(
218
c2f0077bb5b8 fix version
am@osimis.io
parents: 212
diff changeset
4 -DORTHANC_STONE_VERSION="${ORTHANC_STONE_VERSION}"
212
5412adf19980 resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 )