parent
9aa77262dd
commit
1b524195d7
@ -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",
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user