about summary refs log tree commit diff stats
path: root/premake5.lua
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-06-05 23:51:28 -0400
committerCharadon <dev@iotib.net>2022-06-05 23:51:28 -0400
commit39fa2cb1c07eba62f966dfd4958e066ca2f3e5c4 (patch)
tree154b61019e22855ba5e088a5d791d78a816cbf1d /premake5.lua
parent18bc9439234675a6877da198be285ffff9f5bb4e (diff)
downloadPong-C-39fa2cb1c07eba62f966dfd4958e066ca2f3e5c4.tar.gz
Moved linkoptions
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/premake5.lua b/premake5.lua
index aa28bf5..171de21 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -28,13 +28,13 @@ project("Pong")
         os.exit(1)
     end
     libdirs {"raylib", "raylib/src"}
+    linkoptions {"`pkgconf --libs glfw3`", "`pkgconf --libs gl`"}
 
     -- Detect OS
     if(os.ishost("linux") == true) then
         links {RaylibStaticLibrary, "m", "pthread", "dl"}
     elseif(os.ishost("bsd") == true) then
-        print("It is required you build raylib to an external glfw library when on bsd.")
-        linkoptions {"`pkgconf --libs glfw3`", "`pkgconf --libs gl`"}
+        print("It is required you build raylib to an external glfw library when on bsd.")    
         -- Which BSD?
         BSD_OS = io.popen("uname")
         BSD_OS_NAME = BSD_OS:read("*a")