Permalink
Browse files

Qt: Add GLES defines if USING_GLES2.

See #11495 - thanks to Jan Beich.
  • Loading branch information...
unknownbrackets committed Oct 28, 2018
1 parent 5ea935f commit 6b89b6a4bbc6a244b861fb368e1ac2deecd89c8d
Showing with 3 additions and 0 deletions.
  1. +3 −0 CMakeLists.txt
@@ -784,6 +784,9 @@ elseif(USING_QT_UI)
Qt/mainwindow.h
)
add_definitions(-DUSING_QT_UI)
if(USING_GLES2)
add_definitions(-DQT_OPENGL_ES -DQT_OPENGL_ES_2)
endif()
include_directories(${CMAKE_CURRENT_BINARY_DIR} Qt)
set(nativeExtraLibs ${nativeExtraLibs} Qt5::OpenGL Qt5::Gui Qt5::Core)
set(TargetBin PPSSPPQt)

0 comments on commit 6b89b6a

Please sign in to comment.