mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 14:24:35 +00:00
Cocoa: Stop searching for system frameworks
This commit is contained in:
parent
fef25ea934
commit
017162e3fd
@ -323,19 +323,11 @@ if (_GLFW_COCOA)
|
|||||||
set(_GLFW_USE_RETINA 1)
|
set(_GLFW_USE_RETINA 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Set up library and include paths
|
list(APPEND glfw_LIBRARIES
|
||||||
find_library(COCOA_FRAMEWORK Cocoa)
|
"-framework Cocoa"
|
||||||
find_library(IOKIT_FRAMEWORK IOKit)
|
"-framework IOKit"
|
||||||
find_library(CORE_FOUNDATION_FRAMEWORK CoreFoundation)
|
"-framework CoreFoundation"
|
||||||
find_library(CORE_VIDEO_FRAMEWORK CoreVideo)
|
"-framework CoreVideo")
|
||||||
mark_as_advanced(COCOA_FRAMEWORK
|
|
||||||
IOKIT_FRAMEWORK
|
|
||||||
CORE_FOUNDATION_FRAMEWORK
|
|
||||||
CORE_VIDEO_FRAMEWORK)
|
|
||||||
list(APPEND glfw_LIBRARIES "${COCOA_FRAMEWORK}"
|
|
||||||
"${IOKIT_FRAMEWORK}"
|
|
||||||
"${CORE_FOUNDATION_FRAMEWORK}"
|
|
||||||
"${CORE_VIDEO_FRAMEWORK}")
|
|
||||||
|
|
||||||
set(glfw_PKG_DEPS "")
|
set(glfw_PKG_DEPS "")
|
||||||
set(glfw_PKG_LIBS "-framework Cocoa -framework IOKit -framework CoreFoundation -framework CoreVideo")
|
set(glfw_PKG_LIBS "-framework Cocoa -framework IOKit -framework CoreFoundation -framework CoreVideo")
|
||||||
|
Loading…
Reference in New Issue
Block a user