Skip to content

Commit 8ac7e2b

Browse files
committed
CHG: removed USE_ITK_3_ZLIB variable, since only ITK >=3 is supported
1 parent e032647 commit 8ac7e2b

File tree

4 files changed

+2
-12
lines changed

4 files changed

+2
-12
lines changed

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ ELSE(UNIX)
4545
OPTION(BUILD_SHARED_LIBS "Build MITK with shared libraries." OFF)
4646
ENDIF(UNIX)
4747
OPTION(USE_ITKZLIB "Use the ITK zlib for pic compression." ON)
48-
IF(USE_ITKZLIB)
49-
IF(ITK_VERSION_MAJOR GREATER 2)
50-
SET(USE_ITK_3_ZLIB TRUE)
51-
ENDIF(ITK_VERSION_MAJOR GREATER 2)
52-
ENDIF(USE_ITKZLIB)
5348
OPTION(MITK_CHILI_PLUGIN "Build MITK for use as a CHILI plugin" OFF)
5449
IF(MITK_CHILI_PLUGIN)
5550
FIND_PATH(MITK_CHILI_PLUGIN_SDK sdk

Utilities/ipPic/ipPic.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -590,11 +590,7 @@ extern DWORD ipWinFread(LPSTR ptr, DWORD size, DWORD n, FILE *stream);
590590
# define ipPicFWrite _ipPicFWrite
591591
# define ipPicFEOF gzeof
592592
# define ipPicFClose gzclose
593-
# ifdef USE_ITK_3_ZLIB
594-
# include "itk_zlib_mangle_itk3.h"
595-
# else
596-
# include "itk_zlib_mangle.h"
597-
# endif
593+
# include "itk_zlib_mangle_itk3.h"
598594
# include "itkzlib/zlib.h"
599595
#else
600596
# include "itkzlib/zlib.h"

mitkConfig.h.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*/
55
#define MITK_ROOT "${PROJECT_SOURCE_DIR}/"
66
#cmakedefine USE_ITKZLIB
7-
#cmakedefine USE_ITK_3_ZLIB
87
#cmakedefine MITK_CHILI_PLUGIN
98
#cmakedefine BUILD_TESTING
109
#define MITK_CHILI_PLUGIN_SDK_IPPIC_H "@MITK_CHILI_PLUGIN_SDK_IPPIC_H@"

zlib.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#include "@CHILI_ZLIB_H@"
1+
#include "@MITK_ZLIB_H@"
22

0 commit comments

Comments
 (0)