diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a67af3a0..7fc521b72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,6 +28,11 @@ option(GLFW_INSTALL "Generate installation target" ON) option(GLFW_VULKAN_STATIC "Use the Vulkan loader statically linked into application" OFF) 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()