From 39fa2cb1c07eba62f966dfd4958e066ca2f3e5c4 Mon Sep 17 00:00:00 2001 From: Charadon Date: Sun, 5 Jun 2022 23:51:28 -0400 Subject: Moved linkoptions --- premake5.lua | 4 ++-- 1 file 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") -- cgit 1.4.1-2-gfad0