CMake: Fix error message for failing OpenGL tests
We still mentioned the QMAKE_* variables. Replace them with the OpenGL_DIR CMake variable. Change-Id: If53c2bff030cf03cb43d10f738949f59ac8dd730 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit fd8441a97cdd212098aeb214b2a5b2caaf108e3c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
98a736d10a
commit
da5a55e034
@ -1314,7 +1314,7 @@ qt_configure_add_report_entry(
|
||||
)
|
||||
qt_configure_add_report_entry(
|
||||
TYPE ERROR
|
||||
MESSAGE "The OpenGL functionality tests failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform."
|
||||
MESSAGE "The OpenGL functionality tests failed! You might need to modify the OpenGL package search path by setting the OpenGL_DIR CMake variable to the OpenGL library's installation directory."
|
||||
CONDITION QT_FEATURE_gui AND NOT WATCHOS AND ( NOT INPUT_opengl STREQUAL 'no' ) AND NOT QT_FEATURE_opengl_desktop AND NOT QT_FEATURE_opengles2 AND NOT QT_FEATURE_opengl_dynamic
|
||||
)
|
||||
qt_configure_add_report_entry(
|
||||
|
Loading…
x
Reference in New Issue
Block a user