Build fails on Arch Linux with cmake 3.19.0 with the errors below. Reverting to cmake 3.18.4 fixes the problem.
Not a fundamental issue, FYI.
Regards.
…
…
CMake Deprecation Warning at Modules/ThirdParty/GoogleTest/src/itkgoogletest/googletest/CMakeLists.txt:56 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at Modules/ThirdParty/MINC/src/libminc/CMakeLists.txt:25 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Error: install(EXPORT "ITKTargets" ...) includes target "gdcmjpeg8" more than once in the export set.
CMake Generate step failed. Build files cannot be regenerated correctly.
make[3]: *** [CMakeFiles/ITK.dir/build.make:130: ITK-prefix/src/ITK-stamp/ITK-configure] Error 1
make[2]: *** [CMakeFiles/Makefile2:1423: CMakeFiles/ITK.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:223: CMakeFiles/Slicer.dir/rule] Error 2
make: *** [Makefile:137: Slicer] Error 2