Skip to content

Commit

Permalink
Revert "Remove support for Ventura (#293)"
Browse files Browse the repository at this point in the history
This reverts commit dd0da2e.
  • Loading branch information
BetsyMcPhail authored Oct 28, 2024
1 parent dd0da2e commit 8cdbf99
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion driver/distribution.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ if(APPLE)
else()
fatal("unable to determine distribution release version")
endif()
if(DASHBOARD_UNIX_DISTRIBUTION_MAJOR_VERSION EQUAL 14)
if(DASHBOARD_UNIX_DISTRIBUTION_MAJOR_VERSION EQUAL 13)
set(DASHBOARD_UNIX_DISTRIBUTION_CODE_NAME "ventura")
set(DASHBOARD_UNIX_DISTRIBUTION_VERSION "${DASHBOARD_UNIX_DISTRIBUTION_MAJOR_VERSION}")
elseif(DASHBOARD_UNIX_DISTRIBUTION_MAJOR_VERSION EQUAL 14)
set(DASHBOARD_UNIX_DISTRIBUTION_CODE_NAME "sonoma")
set(DASHBOARD_UNIX_DISTRIBUTION_VERSION "${DASHBOARD_UNIX_DISTRIBUTION_MAJOR_VERSION}")
else()
Expand Down
2 changes: 1 addition & 1 deletion driver/environment.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ else()
endif()

if(APPLE)
set(DISTRIBUTION_REGEX "(sonoma)")
set(DISTRIBUTION_REGEX "(ventura|sonoma)")
else()
set(DISTRIBUTION_REGEX "(jammy|noble)")
endif()
Expand Down

0 comments on commit 8cdbf99

Please sign in to comment.