Skip to content

Commit

Permalink
COMP: Require at least macOS 10.13
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Jan 26, 2023
1 parent 1cb59ea commit 32ec799
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ include(PreventInSourceBuilds)
include(PreventInBuildInstalls)

# macOS initialization
if(APPLE AND DARWIN_MAJOR_VERSION LESS "10.13")
message(FATAL_ERROR "Only macOS >= 10.13 is supported")
endif()
include(SlicerBlockSetCMakeOSXVariables)

set(PRIMARY_PROJECT_NAME UKFTractography)
Expand Down
16 changes: 0 additions & 16 deletions Common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,6 @@ set(CMAKE_MODULE_PATH
${CMAKE_MODULE_PATH}
)

#-----------------------------------------------------------------------------
# Platform check
#-----------------------------------------------------------------------------
set(PLATFORM_CHECK true)
if(PLATFORM_CHECK)
# See CMake/Modules/Platform/Darwin.cmake)
# 6.x == Mac OSX 10.2 (Jaguar)
# 7.x == Mac OSX 10.3 (Panther)
# 8.x == Mac OSX 10.4 (Tiger)
# 9.x == Mac OSX 10.5 (Leopard)
# 10.x == Mac OSX 10.6 (Snow Leopard)
if (DARWIN_MAJOR_VERSION LESS "9")
message(FATAL_ERROR "Only Mac OSX >= 10.5 are supported !")
endif()
endif()

#-----------------------------------------------------------------------------
if(NOT COMMAND SETIFEMPTYANDMKDIRANDMKDIR)
macro(SETIFEMPTYANDMKDIR)
Expand Down

0 comments on commit 32ec799

Please sign in to comment.