link_OpenGL.xcpjh


//////////////////// OpenGL //////////////////////

@if (IsWindowsPlatform)
{    
    +link
    {
        "opengl32.lib"
        "glu32.lib"
    }
}
@if (IsMacOSXPlatform)
{
    +cpp
    {
        -I"/System/Library/Frameworks/OpenGL.framework/Headers"
        -Wdeprecated-declarations
        -Wpotentially-evaluated-expression
    }

    +link
    {
        -L"/System/Library/Frameworks/OpenGL.framework/Libraries"
        -lGL
        -framework OpenGL
    }
}