mirror of
https://github.com/memononen/nanovg
synced 2026-09-26 16:19:07 +03:00
Added "-framework Carbon" as a link option to premake4.lua.
To get nanovg to link correctly under OS X 12.3, it needs to be linked against the Carbon libraries. This was missing in the premake4.lua files. Now fixed.
This commit is contained in:
parent
47ffd9d0b9
commit
112567c975
1 changed files with 9 additions and 9 deletions
18
premake4.lua
18
premake4.lua
|
|
@ -5,7 +5,7 @@ solution "nanovg"
|
||||||
location ( "build" )
|
location ( "build" )
|
||||||
configurations { "Debug", "Release" }
|
configurations { "Debug", "Release" }
|
||||||
platforms {"native", "x64", "x32"}
|
platforms {"native", "x64", "x32"}
|
||||||
|
|
||||||
project "nanovg"
|
project "nanovg"
|
||||||
language "C"
|
language "C"
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
|
|
@ -13,7 +13,7 @@ solution "nanovg"
|
||||||
files { "src/*.c" }
|
files { "src/*.c" }
|
||||||
targetdir("build")
|
targetdir("build")
|
||||||
defines { "_CRT_SECURE_NO_WARNINGS" } --,"FONS_USE_FREETYPE" } Uncomment to compile with FreeType support
|
defines { "_CRT_SECURE_NO_WARNINGS" } --,"FONS_USE_FREETYPE" } Uncomment to compile with FreeType support
|
||||||
|
|
||||||
configuration "Debug"
|
configuration "Debug"
|
||||||
defines { "DEBUG" }
|
defines { "DEBUG" }
|
||||||
flags { "Symbols", "ExtraWarnings"}
|
flags { "Symbols", "ExtraWarnings"}
|
||||||
|
|
@ -42,7 +42,7 @@ solution "nanovg"
|
||||||
|
|
||||||
configuration { "macosx" }
|
configuration { "macosx" }
|
||||||
links { "glfw3" }
|
links { "glfw3" }
|
||||||
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo" }
|
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo", "-framework Carbon" }
|
||||||
|
|
||||||
configuration "Debug"
|
configuration "Debug"
|
||||||
defines { "DEBUG" }
|
defines { "DEBUG" }
|
||||||
|
|
@ -71,7 +71,7 @@ solution "nanovg"
|
||||||
|
|
||||||
configuration { "macosx" }
|
configuration { "macosx" }
|
||||||
links { "glfw3" }
|
links { "glfw3" }
|
||||||
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo" }
|
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo", "-framework Carbon" }
|
||||||
|
|
||||||
configuration "Debug"
|
configuration "Debug"
|
||||||
defines { "DEBUG" }
|
defines { "DEBUG" }
|
||||||
|
|
@ -101,7 +101,7 @@ solution "nanovg"
|
||||||
|
|
||||||
configuration { "macosx" }
|
configuration { "macosx" }
|
||||||
links { "glfw3" }
|
links { "glfw3" }
|
||||||
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo" }
|
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo", "-framework Carbon" }
|
||||||
|
|
||||||
configuration "Debug"
|
configuration "Debug"
|
||||||
defines { "DEBUG" }
|
defines { "DEBUG" }
|
||||||
|
|
@ -131,7 +131,7 @@ solution "nanovg"
|
||||||
|
|
||||||
configuration { "macosx" }
|
configuration { "macosx" }
|
||||||
links { "glfw3" }
|
links { "glfw3" }
|
||||||
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo" }
|
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo", "-framework Carbon" }
|
||||||
|
|
||||||
configuration "Debug"
|
configuration "Debug"
|
||||||
defines { "DEBUG" }
|
defines { "DEBUG" }
|
||||||
|
|
@ -159,7 +159,7 @@ solution "nanovg"
|
||||||
|
|
||||||
configuration { "macosx" }
|
configuration { "macosx" }
|
||||||
links { "glfw3" }
|
links { "glfw3" }
|
||||||
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo" }
|
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo", "-framework Carbon" }
|
||||||
|
|
||||||
configuration "Debug"
|
configuration "Debug"
|
||||||
defines { "DEBUG" }
|
defines { "DEBUG" }
|
||||||
|
|
@ -187,7 +187,7 @@ solution "nanovg"
|
||||||
|
|
||||||
configuration { "macosx" }
|
configuration { "macosx" }
|
||||||
links { "glfw3" }
|
links { "glfw3" }
|
||||||
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo" }
|
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo", "-framework Carbon" }
|
||||||
|
|
||||||
configuration "Debug"
|
configuration "Debug"
|
||||||
defines { "DEBUG" }
|
defines { "DEBUG" }
|
||||||
|
|
@ -215,7 +215,7 @@ solution "nanovg"
|
||||||
|
|
||||||
configuration { "macosx" }
|
configuration { "macosx" }
|
||||||
links { "glfw3" }
|
links { "glfw3" }
|
||||||
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo" }
|
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo", "-framework Carbon" }
|
||||||
|
|
||||||
configuration "Debug"
|
configuration "Debug"
|
||||||
defines { "DEBUG" }
|
defines { "DEBUG" }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue