mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
Adjust CMake module to provide correct deps on OSX
Module will now give the OpenGL framework as a dependency instead of the nonexistent libGL.
This commit is contained in:
parent
185c09a95c
commit
d7c9df7600
@ -255,7 +255,7 @@ if(SFML_STATIC_LIBRARIES)
|
||||
set(SFML_WINDOW_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} "usbhid")
|
||||
endif()
|
||||
elseif(FIND_SFML_OS_MACOSX)
|
||||
set(SFML_WINDOW_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} "GL" "-framework Foundation -framework AppKit -framework IOKit -framework Carbon")
|
||||
set(SFML_WINDOW_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} "-framework OpenGL -framework Foundation -framework AppKit -framework IOKit -framework Carbon")
|
||||
endif()
|
||||
set(SFML_DEPENDENCIES ${SFML_DEPENDENCIES} ${SFML_WINDOW_DEPENDENCIES})
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user