diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2022-08-19 07:51:38 +0000 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2022-08-24 19:11:59 +0000 |
commit | 52ebf31d2b97513b2e3f9b46c99e60249d2b61fe (patch) | |
tree | 6af6afc8dcacc2cae052e4a474ee1a4c4fb9626d /src/plugins/platforms/xcb | |
parent | da9d60ecc32263eaf77882811d58fefad9f85dc9 (diff) |
CMake: don't use full paths for X11 SM and ICE libs
Full paths were recorded into INTERFACE_LINK_LIBRARIES which could
point to temporary build directories.
Pick-to: 6.4 6.3 6.2
Change-Id: I883fd8f652e4d9ecd7d8e0076d62f5c7f4e14ec9
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/plugins/platforms/xcb')
-rw-r--r-- | src/plugins/platforms/xcb/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/CMakeLists.txt b/src/plugins/platforms/xcb/CMakeLists.txt index b4dab95eb9..76d16ee555 100644 --- a/src/plugins/platforms/xcb/CMakeLists.txt +++ b/src/plugins/platforms/xcb/CMakeLists.txt @@ -100,7 +100,8 @@ qt_internal_extend_target(XcbQpaPrivate CONDITION QT_FEATURE_xcb_sm SOURCES qxcbsessionmanager.cpp qxcbsessionmanager.h PUBLIC_LIBRARIES - ${X11_SM_LIB} ${X11_ICE_LIB} + X11::SM + X11::ICE ) qt_internal_extend_target(XcbQpaPrivate CONDITION QT_FEATURE_vulkan |