diff --git a/scripts/genie.lua b/scripts/genie.lua index 5876caa5a..e33dbded0 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -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", diff --git a/scripts/texturev.lua b/scripts/texturev.lua index f6e93d8ba..4c35afe53 100644 --- a/scripts/texturev.lua +++ b/scripts/texturev.lua @@ -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",