Skip to content

Commit 259217c

Browse files
committed
STYLE: Remove some unnecessary named cmake else clauses in DCMTK
1 parent bffeb26 commit 259217c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Modules/ThirdParty/DCMTK/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ if(DCMTK_USE_ICU)
7272
)
7373
set(ICU_DEPENDENCY icu)
7474
endif()
75-
else(DCMTK_USE_ICU)
75+
else()
7676
set(CHARSET_CONVERSION_ARGS
7777
-DDCMTK_WITH_ICU:BOOL=OFF
7878
)

Modules/ThirdParty/DCMTK/itk-module-init.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if(ITK_USE_SYSTEM_DCMTK)
2525
# Use local FindDCMTK.cmake.
2626
list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_CURRENT_LIST_DIR}/CMake")
2727
find_package(DCMTK REQUIRED NO_MODULE)
28-
else(ITK_USE_SYSTEM_DCMTK)
28+
else()
2929
# Change default from OFF to ON for portability.
3030
option(DCMTK_ENABLE_BUILTIN_OFICONV_DATA "Embed oficonv data files into oficonv library" ON)
3131
# Copied and mofified from DCMTK/CMake/3rdparty.cmake
@@ -52,4 +52,4 @@ else(ITK_USE_SYSTEM_DCMTK)
5252
set(ITKDCMTK_ICU_LIBRARIES ${ICU_LIBRARIES})
5353
endif()
5454
endif()
55-
endif(ITK_USE_SYSTEM_DCMTK)
55+
endif()

0 commit comments

Comments
 (0)