about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-06-05 21:56:47 -0400
committerCharadon <dev@iotib.net>2022-06-05 21:56:47 -0400
commit491ed8d4031e6ffad4fea3372417c94686f22767 (patch)
treeebc44bb431c2fb8c70fec4576ecf7c65133e32cb
parent8d129cff4995c1960c7e6749fa96517e9ede6910 (diff)
downloadPong-C-491ed8d4031e6ffad4fea3372417c94686f22767.tar.gz
Windows support
-rw-r--r--premake5.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua
index 1f312d1..3f82255 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -52,6 +52,8 @@ project("Pong")
         end
     elseif(os.ishost("windows") == true) then
         print("This script is expecting a MSYS2 or Cygwin environment. You've been warned.")
+        links {RaylibStaticLibrary, "-lopengl32", "-lgdi32", "-lwinmm", "-lpthread", "-lm"}
+        includedirs {"raylib/src", "src/windows"}
     else
         links {RaylibStaticLibrary, "m", "pthread", "dl"}
     end