summaryrefslogtreecommitdiffstats
path: root/cmake/FindGLESv2.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindGLESv2.cmake')
-rw-r--r--cmake/FindGLESv2.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/FindGLESv2.cmake b/cmake/FindGLESv2.cmake
index 25b9044bb2..6d7147f563 100644
--- a/cmake/FindGLESv2.cmake
+++ b/cmake/FindGLESv2.cmake
@@ -15,6 +15,9 @@ else()
if(EGL_LIBRARY)
list(APPEND CMAKE_REQUIRED_LIBRARIES "${EGL_LIBRARY}")
endif()
+ if(_qt_igy_gui_libs)
+ list(APPEND CMAKE_REQUIRED_LIBRARIES "${_qt_igy_gui_libs}")
+ endif()
set(_includes "${CMAKE_REQUIRED_INCLUDES}")
list(APPEND CMAKE_REQUIRED_INCLUDES "${GLESv2_INCLUDE_DIR}")