Browse Source

Fix issue #10

- link to framework CoreVideo on OSX, fixes compiling on OSX 10.9
shared-context
Mikko Mononen 11 years ago
parent
commit
e8c4ec22bf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      premake4.lua

+ 2
- 2
premake4.lua View File

@@ -30,7 +30,7 @@ solution "nanovg"


configuration { "macosx" } configuration { "macosx" }
links { "glfw3" } links { "glfw3" }
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit" }
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo" }


configuration "Debug" configuration "Debug"
defines { "DEBUG" } defines { "DEBUG" }
@@ -57,7 +57,7 @@ solution "nanovg"


configuration { "macosx" } configuration { "macosx" }
links { "glfw3" } links { "glfw3" }
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit" }
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo" }


configuration "Debug" configuration "Debug"
defines { "DEBUG" } defines { "DEBUG" }


Loading…
Cancel
Save