Only check for EGL if using EGL_API.

Missed this one.
This commit is contained in:
Miguel A. Colón Vélez 2015-07-27 19:19:47 -04:00
parent 41cc153bff
commit 2c05426db1
1 changed files with 3 additions and 1 deletions

View File

@ -77,7 +77,9 @@ include(CheckLib)
if(Linux)
check_lib(AIO aio libaio.h)
endif()
check_lib(EGL EGL EGL/egl.h)
if(EGL_API)
check_lib(EGL EGL EGL/egl.h)
endif()
check_lib(PORTAUDIO portaudio portaudio.h pa_linux_alsa.h)
check_lib(SOUNDTOUCH SoundTouch soundtouch/SoundTouch.h)
check_lib(PNGPP FALSE png++/png.hpp)