command line compile g++ OpenGL ES .cpp file

my.cpp
file has
#import <OpenGLES/ES2/glext.h>
. I am trying to compile it by
g++ -c my.cpp
which fails with
fatal error: 'OpenGLES/ES2/glext.h' file not found #import <OpenGLES/ES2/glext.h>

I am able to compile it from Xcode with

GLKit.framework
. How to compile it in macOS from command line?

--EDIT--

Where are the OpenGL header files located on MacOSX? seems relevant but it is to

OpenGL
.

I tried

g++ -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ -framework OpenGLES -c nautical.cpp
clang: warning: -framework OpenGLES: 'linker' input unused [-Wunused-command-line-argument]
In file included from nautical.cpp:9:
./nautical.hpp:13:9: fatal error: 'OpenGLES/ES2/glext.h' file not found
#import <OpenGLES/ES2/glext.h>
        ^
1 error generated.

definitely there is no `OpenGLES` folder in -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/

What is the right path?