From b1d6e01866e37f84138d3e040f00ba0ca612b8c2 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 12 Dec 2018 21:45:29 -0800 Subject: Fixed build under MinGW --- Graphics/GraphicsEngineVulkan/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineVulkan') diff --git a/Graphics/GraphicsEngineVulkan/CMakeLists.txt b/Graphics/GraphicsEngineVulkan/CMakeLists.txt index d8878ae0..4e56087f 100644 --- a/Graphics/GraphicsEngineVulkan/CMakeLists.txt +++ b/Graphics/GraphicsEngineVulkan/CMakeLists.txt @@ -152,7 +152,7 @@ add_library(GraphicsEngineVk-shared SHARED readme.md ) -if(PLATFORM_WIN32) +if(PLATFORM_WIN32 AND MSVC) target_sources(GraphicsEngineVk-shared PRIVATE src/DLLMain.cpp src/GraphicsEngineVk.def -- cgit v1.2.3