Kaynağa Gözat

Fixed issue #257.

Branimir Karadžić 11 yıl önce
ebeveyn
işleme
e55bc9f103
1 değiştirilmiş dosya ile 6 ekleme ve 3 silme
  1. 6 3
      scripts/bgfx.lua

+ 6 - 3
scripts/bgfx.lua

@@ -14,13 +14,16 @@ function bgfxProject(_name, _kind, _defines)
 				"BGFX_SHARED_LIB_BUILD=1",
 				"BGFX_SHARED_LIB_BUILD=1",
 			}
 			}
 
 
+			configuration { "vs20* or mingw*" }
+				links {
+					"gdi32",
+					"psapi",
+				}
+
 			configuration { "mingw*" }
 			configuration { "mingw*" }
 				linkoptions {
 				linkoptions {
 					"-shared",
 					"-shared",
 				}
 				}
-				links {
-					"gdi32",
-				}
 
 
 			configuration {}
 			configuration {}
 		end
 		end