mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2026-02-03 17:27:32 +00:00
Add Darwin kernel check to bypass AGL linking on MacOS Tahoe
* The AGL framework has been removed
This commit is contained in:
parent
60b9febbde
commit
144ec1d71f
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user