shonumi / gbe-plus

DMG/GBC/GBA emulator and experimental NDS emulator.
GNU General Public License v2.0
501 stars 79 forks source link

Use the correct variable for OpenGL include directory. #107

Closed bentley closed 4 years ago

bentley commented 4 years ago

The OpenGL include directory defined by CMake is stored in OPENGL_INCLUDE_DIR, not OPENGL_INCLUDE_DIRS.

This fixes the build on OpenBSD, where OpenGL is not in the default compiler search path.

shonumi commented 4 years ago

Thanks for that! Merging it now.