Browse Source

Fixed VS2012 build.

Branimir Karadžić 11 years ago
parent
commit
4bb5cc23b5
2 changed files with 6 additions and 6 deletions
  1. 0 6
      scripts/bgfx.lua
  2. 6 0
      scripts/genie.lua

+ 0 - 6
scripts/bgfx.lua

@@ -40,12 +40,6 @@ function bgfxProject(_name, _kind, _defines)
 				"$(DXSDK_DIR)/include",
 				"$(DXSDK_DIR)/include",
 			}
 			}
 
 
-		configuration { "windows" }
-			links {
-				"gdi32",
-				"psapi",
-			}
-
 		configuration { "xcode4 or osx or ios*" }
 		configuration { "xcode4 or osx or ios*" }
 			files {
 			files {
 				BGFX_DIR .. "src/**.mm",
 				BGFX_DIR .. "src/**.mm",

+ 6 - 0
scripts/genie.lua

@@ -111,6 +111,12 @@ function exampleProject(_name)
 			"/DELAYLOAD:\"libGLESv2.dll\"",
 			"/DELAYLOAD:\"libGLESv2.dll\"",
 		}
 		}
 
 
+	configuration { "windows" }
+		links {
+			"gdi32",
+			"psapi",
+		}
+
 	configuration { "android*" }
 	configuration { "android*" }
 		kind "ConsoleApp"
 		kind "ConsoleApp"
 		targetextension ".so"
 		targetextension ".so"