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",

View File

@ -41,7 +41,6 @@ project ("texturev")
if _OPTIONS["with-glfw"] then
defines { "ENTRY_CONFIG_USE_GLFW=1" }
links { "glfw3" }
configuration { "linux or freebsd" }
links {
@ -52,7 +51,11 @@ project ("texturev")
"Xcursor",
}
configuration { "not osx" }
links { "glfw3" }
configuration { "osx" }
links { "glfw" }
linkoptions {
"-framework CoreVideo",
"-framework IOKit",