diff options
author | aneejit1 <aneejit1@gmail.com> | 2020-06-17 21:45:21 +0000 |
---|---|---|
committer | aneejit1 <aneejit1@gmail.com> | 2020-06-19 16:11:20 +0000 |
commit | 7fba97e18aa453c76130f587740f692cd267a216 (patch) | |
tree | 42dc1d38636245e29b5e6f305056a47be4a63d2e /nsplugins/viewer/CMakeLists.txt | |
parent | 92902053e5ea081619e14eb5b1fc5d527e4f6136 (diff) | |
download | tdebase-7fba97e18aa453c76130f587740f692cd267a216.tar.gz tdebase-7fba97e18aa453c76130f587740f692cd267a216.zip |
Improve detection of libXss, OpenGL and libXext DPMS support.
The detection of libXss has been changed to ask the question
"where is libXss?" before asking "is XScreenSaverQueryInfo
available?" rather than the other way around. The test for
"XScreenSaverQueryInfo" also ensures that the include and
library flags from pkg-config are used.
The OpenGL test has been amended to make use of the include
paths and library flags returned by pkg-config to prevent the
test from failing when OpenGL is not in /usr.
The libXext test in kcontrol/energy/CMakeLists.txt is amended
to use the libXext include path and library flags. The paths
are also added to the include/link directories.
Signed-off-by: aneejit1 <aneejit1@gmail.com>
Diffstat (limited to 'nsplugins/viewer/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions