diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-04-13 11:38:20 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-04-14 06:55:18 +0000 |
commit | da5a55e034c74a42485358cf704e75467a62696e (patch) | |
tree | 6a50454cfbdb5af8f57c106d969f1efc02feb338 | |
parent | 98a736d10ae8853c957ed3db4e99927c464aa52b (diff) |
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>
-rw-r--r-- | src/gui/configure.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/configure.cmake b/src/gui/configure.cmake index 65e4ae81e6..9159d3c28f 100644 --- a/src/gui/configure.cmake +++ b/src/gui/configure.cmake @@ -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( |