Revert "OSX: Fixed GLFW3 linkage."

This reverts commit 9aa77262dd.
This commit is contained in:
Бранимир Караџић 2019-05-25 19:21:58 -07:00
parent 9aa77262dd
commit 1b524195d7
2 changed files with 2 additions and 8 deletions

View File

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

View File

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