CMake: Add special processing of opengl configure option
Since feature evaluation expects explicit 'no' value for INPUT_opengl to disable either desktop or es2 opengl support, add special processing for -no-opengl option into QtProcessConfigureArgs.cmake Task-number: QTBUG-88142 Change-Id: Ib49123ee3e9f98035f6ec85a182382559f4db478 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
6af1358742
commit
d312580a05
@ -727,6 +727,11 @@ if("${INPUT_ltcg}" STREQUAL "yes")
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
if(NOT "${INPUT_opengl}" STREQUAL "")
|
||||
drop_input(opengl)
|
||||
push("-DINPUT_opengl=${INPUT_opengl}")
|
||||
endif()
|
||||
|
||||
translate_list_input(device-option QT_QMAKE_DEVICE_OPTIONS)
|
||||
translate_list_input(defines QT_EXTRA_DEFINES)
|
||||
translate_list_input(fpaths QT_EXTRA_FRAMEWORKPATHS)
|
||||
|
Loading…
Reference in New Issue
Block a user