diff options
author | Charadon <dev@iotib.net> | 2022-06-05 23:51:28 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-06-05 23:51:28 -0400 |
commit | 39fa2cb1c07eba62f966dfd4958e066ca2f3e5c4 (patch) | |
tree | 154b61019e22855ba5e088a5d791d78a816cbf1d | |
parent | 18bc9439234675a6877da198be285ffff9f5bb4e (diff) | |
download | Pong-C-39fa2cb1c07eba62f966dfd4958e066ca2f3e5c4.tar.gz |
Moved linkoptions
-rw-r--r-- | premake5.lua | 4 |
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") |