Assume Cocoa support
This commit is contained in:
parent
7885c61a39
commit
577248c24d
|
@ -35,12 +35,6 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||||
set(FREEBSD ON)
|
set(FREEBSD ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(APPLE)
|
|
||||||
if(NOT QT_MAC_USE_COCOA)
|
|
||||||
message(FATAL_ERROR "Cocoa support is required")
|
|
||||||
endif(NOT QT_MAC_USE_COCOA)
|
|
||||||
endif(APPLE)
|
|
||||||
|
|
||||||
set(OpenGL_GL_PREFERENCE LEGACY)
|
set(OpenGL_GL_PREFERENCE LEGACY)
|
||||||
find_package(OpenGL)
|
find_package(OpenGL)
|
||||||
if(OPENGL_FOUND)
|
if(OPENGL_FOUND)
|
||||||
|
|
Loading…
Reference in New Issue