File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ add_library(Diligent-Archiver-shared SHARED
7878 readme.md
7979)
8080
81- if (MSVC )
81+ if ((PLATFORM_WIN32 OR PLATFORM_UNIVERSAL_WINDOWS) AND NOT MINGW_BUILD )
8282 target_sources (Diligent-Archiver-shared PRIVATE ${DLL_SOURCE} )
8383endif ()
8484
Original file line number Diff line number Diff line change @@ -173,7 +173,8 @@ add_library(Diligent-GraphicsEngineOpenGL-static STATIC
173173add_library (Diligent-GraphicsEngineOpenGL-shared SHARED
174174 readme.md
175175)
176- if (MSVC )
176+
177+ if ((PLATFORM_WIN32 OR PLATFORM_UNIVERSAL_WINDOWS) AND NOT MINGW_BUILD)
177178 target_sources (Diligent-GraphicsEngineOpenGL-shared PRIVATE ${DLL_SOURCE} )
178179endif ()
179180
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ add_library(Diligent-GraphicsEngineVk-shared SHARED
162162 readme.md
163163)
164164
165- if (MSVC )
165+ if ((PLATFORM_WIN32 OR PLATFORM_UNIVERSAL_WINDOWS) AND NOT MINGW_BUILD )
166166 target_sources (Diligent-GraphicsEngineVk-shared PRIVATE ${DLL_SOURCE} )
167167endif ()
168168
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ add_library(Diligent-GraphicsEngineWebGPU-shared SHARED
106106 readme.md
107107)
108108
109- if (MSVC )
109+ if ((PLATFORM_WIN32 OR PLATFORM_UNIVERSAL_WINDOWS) AND NOT MINGW_BUILD )
110110 target_sources (Diligent-GraphicsEngineWebGPU-shared PRIVATE ${DLL_SOURCE} )
111111endif ()
112112
You can’t perform that action at this time.
0 commit comments