Initial cmake support for vulkan target
Change-Id: I34b47a5327055f804951793d9a8a58f771d9b792
Bug: b/116336664
Reviewed-on: https://swiftshader-review.googlesource.com/20988
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Chris Forbes <chrisforbes@google.com>
diff --git a/src/Vulkan/main.cpp b/src/Vulkan/main.cpp
index cdcbf39..80b6ee0 100644
--- a/src/Vulkan/main.cpp
+++ b/src/Vulkan/main.cpp
@@ -14,10 +14,10 @@
// main.cpp: DLL entry point.
+#if defined(_WIN32)
#include "resource.h"
#include <windows.h>
-#if defined(_WIN32)
#ifdef DEBUGGER_WAIT_DIALOG
static INT_PTR CALLBACK DebuggerWaitDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
@@ -75,4 +75,4 @@
return TRUE;
}
-#endif
\ No newline at end of file
+#endif