mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 05:36:35 +00:00
Add cheaty support for Cygwin versions of CMake
This commit is contained in:
parent
d2d57c70e2
commit
fbbf93f9ef
@ -25,6 +25,11 @@ option(GLFW_BUILD_DOCS "Build the GLFW documentation" ON)
|
||||
option(GLFW_INSTALL "Generate installation target" ON)
|
||||
option(GLFW_DOCUMENT_INTERNALS "Include internals in documentation" OFF)
|
||||
|
||||
if (CYGWIN)
|
||||
message(STATUS "Cygwin detected, defining WIN32")
|
||||
set(WIN32 ON)
|
||||
endif()
|
||||
|
||||
if (WIN32)
|
||||
option(GLFW_USE_HYBRID_HPG "Force use of high-performance GPU on hybrid systems" OFF)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user