File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,12 +21,6 @@ if(NOT CMAKE_CONFIGURATION_TYPES)
2121 )
2222endif ()
2323
24- if (CMAKE_SH AND CMAKE_VERSION VERSION_LESS "3.17.0" )
25- # Setting CMAKE_SH is required when using "MinGW Makefiles" generator with CMake < 3.17
26- # See https://github.com/InsightSoftwareConsortium/ITK/issues/66#issuecomment-424374973
27- list (APPEND _additional_external_project_args -DCMAKE_SH:PATH=${CMAKE_SH} )
28- endif ()
29-
3024# Because the header-only nature of Eigen3, EIGEN_MPL2_ONLY definition could be leaked outside ITK.
3125# This would wrongly enforce EIGEN_MPL2_ONLY to other libraries using Eigen.
3226# We wrap this definition in ITK_USE_EIGEN_MPL2_ONLY, and only enabling it internally in the dashboards and CI,
Original file line number Diff line number Diff line change @@ -285,13 +285,8 @@ endforeach()
285285 ${ITKDCMTK_LIBDEP} )
286286 endforeach ()
287287
288- if (CMAKE_VERSION VERSION_LESS 3.4)
289- set (CMAKE_CXX_COMPILER_LAUNCHER_FLAG )
290- set (CMAKE_C_COMPILER_LAUNCHER_FLAG )
291- else ()
292- set (CMAKE_CXX_COMPILER_LAUNCHER_FLAG -DCMAKE_CXX_COMPILER_LAUNCHER:FILEPATH =${CMAKE_CXX_COMPILER_LAUNCHER} )
293- set (CMAKE_C_COMPILER_LAUNCHER_FLAG -DCMAKE_C_COMPILER_LAUNCHER:FILEPATH =${CMAKE_C_COMPILER_LAUNCHER} )
294- endif ()
288+ set (CMAKE_CXX_COMPILER_LAUNCHER_FLAG -DCMAKE_CXX_COMPILER_LAUNCHER:FILEPATH =${CMAKE_CXX_COMPILER_LAUNCHER} )
289+ set (CMAKE_C_COMPILER_LAUNCHER_FLAG -DCMAKE_C_COMPILER_LAUNCHER:FILEPATH =${CMAKE_C_COMPILER_LAUNCHER} )
295290 set (_cross_compiling_flags)
296291 if (CMAKE_TOOLCHAIN_FILE )
297292 list (APPEND _cross_compiling_flags -DCMAKE_TOOLCHAIN_FILE:FILEPATH=${CMAKE_TOOLCHAIN_FILE} )
You can’t perform that action at this time.
0 commit comments