mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2026-02-03 09:17:40 +00:00
Merge pull request #75 from AmrikSadhra/master
Add Darwin kernel check to bypass AGL linking on MacOS Tahoe
This commit is contained in:
commit
7dbf97ad38
@ -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