Merge pull request #75 from AmrikSadhra/master

Add Darwin kernel check to bypass AGL linking on MacOS Tahoe
This commit is contained in:
Gyusun Yeom 2026-01-22 11:22:39 +09:00 committed by GitHub
commit 7dbf97ad38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)