diff --git a/driver/distribution.cmake b/driver/distribution.cmake index 518260e..c71ce5a 100644 --- a/driver/distribution.cmake +++ b/driver/distribution.cmake @@ -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() diff --git a/driver/environment.cmake b/driver/environment.cmake index 8f2a98d..d231eb2 100644 --- a/driver/environment.cmake +++ b/driver/environment.cmake @@ -71,7 +71,7 @@ else() endif() if(APPLE) - set(DISTRIBUTION_REGEX "(sonoma)") + set(DISTRIBUTION_REGEX "(ventura|sonoma)") else() set(DISTRIBUTION_REGEX "(jammy|noble)") endif()