Skip to content

Commit 1e121bb

Browse files
committed
Merge branch 'release-5.4' into release
2 parents fd0c9c7 + efe773f commit 1e121bb

3 files changed

Lines changed: 18 additions & 10 deletions

File tree

Modules/Core/SpatialObjects/include/itkSpatialObjectProperty.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,13 @@ class ITKSpatialObjects_EXPORT SpatialObjectProperty
9696
m_Name = name;
9797
}
9898

99+
#if !defined(ITK_WRAPPING_PARSER)
99100
std::string &
100101
GetName()
101102
{
102103
return m_Name;
103104
}
105+
#endif
104106

105107
const std::string &
106108
GetName() const
@@ -123,15 +125,13 @@ class ITKSpatialObjects_EXPORT SpatialObjectProperty
123125
return value;
124126
}
125127

128+
129+
#if !defined(ITK_WRAPPING_PARSER)
126130
bool
127131
GetTagStringValue(const std::string & tag, std::string & value) const;
132+
#endif
128133
std::string
129-
GetTagStringValue(const std::string & tag) const
130-
{
131-
std::string value = "";
132-
this->GetTagStringValue(tag, value);
133-
return value;
134-
}
134+
GetTagStringValue(const std::string & tag) const;
135135

136136

137137
std::map<std::string, double> &

Modules/Core/SpatialObjects/src/itkSpatialObjectProperty.cxx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,15 @@ SpatialObjectProperty::GetTagStringValue(const std::string & tag, std::string &
137137
}
138138
}
139139

140+
141+
std::string
142+
SpatialObjectProperty::GetTagStringValue(const std::string & tag) const
143+
{
144+
std::string value = "";
145+
this->GetTagStringValue(tag, value);
146+
return value;
147+
}
148+
140149
std::map<std::string, double> &
141150
SpatialObjectProperty::GetTagScalarDictionary()
142151
{

Modules/ThirdParty/TIFF/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,16 @@ if(ITK_USE_SYSTEM_TIFF)
88
find_package(TIFF REQUIRED)
99
set(ITKTIFF_INCLUDE_DIRS
1010
${ITKTIFF_BINARY_DIR}/src
11+
${TIFF_INCLUDE_DIRS}
1112
)
12-
set(ITKTIFF_SYSTEM_INCLUDE_DIRS
13-
${TIFF_INCLUDE_DIR}
14-
)
13+
1514
set(ITKTIFF_LIBRARIES "${TIFF_LIBRARIES}")
1615
set(ITKTIFF_NO_SRC 1)
1716

1817
# Check availability of different methods to access TIFF's field
1918
# data structure.
2019
include(CheckTypeSize)
21-
set(CMAKE_REQUIRED_INCLUDES ${ITKTIFF_SYSTEM_INCLUDE_DIRS})
20+
set(CMAKE_REQUIRED_LIBRARIES TIFF::TIFF)
2221
set(CMAKE_EXTRA_INCLUDE_FILES "tiffio.h")
2322
check_type_size(TIFFFieldReadCount ITK_TIFF_HAS_TIFFFieldReadCount)
2423
check_type_size(TIFFField* ITK_TIFF_HAS_TIFFField)

0 commit comments

Comments
 (0)