summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/.prev_CMakeLists.txt2
-rw-r--r--src/gui/CMakeLists.txt2
-rw-r--r--src/gui/opengl/platform/unix/unix.pri2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/.prev_CMakeLists.txt b/src/gui/.prev_CMakeLists.txt
index 65780b44cf..5b4c581bed 100644
--- a/src/gui/.prev_CMakeLists.txt
+++ b/src/gui/.prev_CMakeLists.txt
@@ -698,7 +698,7 @@ qt_extend_target(Gui CONDITION QT_FEATURE_undogroup
qt_extend_target(Gui CONDITION QT_FEATURE_opengl AND QT_FEATURE_xlib AND NOT QT_FEATURE_opengles2
SOURCES
opengl/platform/unix/qglxconvenience.cpp opengl/platform/unix/qglxconvenience_p.h
- PUBLIC_LIBRARIES
+ LIBRARIES
X11::X11
)
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
index 1804991a7a..dc7d28d0f1 100644
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -820,7 +820,7 @@ qt_extend_target(Gui CONDITION QT_FEATURE_undogroup
qt_extend_target(Gui CONDITION QT_FEATURE_opengl AND QT_FEATURE_xlib AND NOT QT_FEATURE_opengles2
SOURCES
opengl/platform/unix/qglxconvenience.cpp opengl/platform/unix/qglxconvenience_p.h
- PUBLIC_LIBRARIES
+ LIBRARIES
X11::X11
)
diff --git a/src/gui/opengl/platform/unix/unix.pri b/src/gui/opengl/platform/unix/unix.pri
index 7acc589114..6365a18756 100644
--- a/src/gui/opengl/platform/unix/unix.pri
+++ b/src/gui/opengl/platform/unix/unix.pri
@@ -4,4 +4,4 @@ HEADERS += \
SOURCES += \
opengl/platform/unix/qglxconvenience.cpp
-QMAKE_USE += xlib
+QMAKE_USE_PRIVATE += xlib