Skip to content

Commit dd250cd

Browse files
author
Scott Harper
committed
Fixed OSX build: now using the default Homebrew include path so that new versions of OpenImageIO will work; updated to a newer premake5 which handles correctly; changed to in OSX so that Xcode accepts angle brackets when looking for includes for OIIO and its required headers
1 parent 9a8223c commit dd250cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

App/App.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ project "App"
77
includedirs{ "../RadeonRays/include", "../CLW", "." }
88

99
if os.is("macosx") then
10-
includedirs {"../3rdparty/oiio16/include"}
11-
libdirs {"../3rdparty/oiio16/lib/x64", "/usr/local/lib"}
10+
sysincludedirs {"/usr/local/include"}
11+
libdirs {"/usr/local/lib"}
1212
linkoptions{ "-framework OpenGL", "-framework GLUT" }
1313
buildoptions "-std=c++11 -stdlib=libc++"
1414
links {"OpenImageIO"}

Tools/premake/osx/premake5

665 KB
Binary file not shown.

0 commit comments

Comments
 (0)