OSX: Fixed GLFW3 linkage.

This commit is contained in:
Бранимир Караџић
2019-05-25 17:13:55 -07:00
parent 74427213e6
commit 9aa77262dd
2 changed files with 8 additions and 2 deletions

View File

@@ -192,7 +192,6 @@ function exampleProjectDefaults()
if _OPTIONS["with-glfw"] then
defines { "ENTRY_CONFIG_USE_GLFW=1" }
links { "glfw3" }
configuration { "linux or freebsd" }
if _OPTIONS["with-wayland"] then
@@ -209,7 +208,11 @@ function exampleProjectDefaults()
}
end
configuration { "not osx" }
links { "glfw3" }
configuration { "osx" }
links { "glfw" }
linkoptions {
"-framework CoreVideo",
"-framework IOKit",