From 144ec1d71f9e0527d48249c5582e19e468e0b10e Mon Sep 17 00:00:00 2001 From: Amrik Sadhra Date: Tue, 20 Jan 2026 12:34:40 +0000 Subject: [PATCH] Add Darwin kernel check to bypass AGL linking on MacOS Tahoe * The AGL framework has been removed --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e224e9..d78c906 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,7 +117,7 @@ else() endif() # OS Specific dependencies -if(APPLE) +if (APPLE AND ${CMAKE_SYSTEM_VERSION} VERSION_LESS "25.0.0") find_library(AGL_LIBRARY AGL REQUIRED) list(APPEND LIBRARIES ${AGL_LIBRARY}) elseif(NOT WIN32)