From e1ad4a2d9b7ee615397721fa1117499914c9efc3 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Thu, 1 Apr 2021 19:37:54 -0400 Subject: cygwin - disable VK/CUDA (#1777) * #include an absolute path didn't work - because paths were taken to always be relative. * Disable Vulkan and CUDA on cygwin. Co-authored-by: Yong He --- tools/gfx/render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/gfx/render.cpp') diff --git a/tools/gfx/render.cpp b/tools/gfx/render.cpp index 183afaffd..81fa73f22 100644 --- a/tools/gfx/render.cpp +++ b/tools/gfx/render.cpp @@ -91,7 +91,7 @@ extern "C" return SLANG_FAIL; } break; -#elif SLANG_LINUX_FAMILY +#elif SLANG_LINUX_FAMILY && !defined(__CYGWIN__) case DeviceType::Default: case DeviceType::Vulkan: { -- cgit v1.2.3