mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2026-02-03 17:27:32 +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()
|
endif()
|
||||||
|
|
||||||
# OS Specific dependencies
|
# OS Specific dependencies
|
||||||
if(APPLE)
|
if(APPLE AND CMAKE_SYSTEM_VERSION VERSION_LESS "25.0.0")
|
||||||
find_library(AGL_LIBRARY AGL REQUIRED)
|
find_library(AGL_LIBRARY AGL REQUIRED)
|
||||||
list(APPEND LIBRARIES ${AGL_LIBRARY})
|
list(APPEND LIBRARIES ${AGL_LIBRARY})
|
||||||
elseif(NOT WIN32)
|
elseif(NOT WIN32)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user