summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-02-27 22:40:31 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-02-27 22:40:31 (GMT)
commite7d7710cf2ef1ef576820abe60b6ce05bfa43b41 (patch)
treeccd52c2dce4a5b30069ccaa86651615ea45575a2 /Tests
parentc2db641c2532d48dc1652e4d2fc9190c8c642c6e (diff)
downloadCMake-e7d7710cf2ef1ef576820abe60b6ce05bfa43b41.zip
CMake-e7d7710cf2ef1ef576820abe60b6ce05bfa43b41.tar.gz
CMake-e7d7710cf2ef1ef576820abe60b6ce05bfa43b41.tar.bz2
Tests/FindX11: fix preprocessor check for xcb_xrandr component
Diffstat (limited to 'Tests')
-rw-r--r--Tests/FindX11/Test/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindX11/Test/main.c b/Tests/FindX11/Test/main.c
index 653a2be..c20257f 100644
--- a/Tests/FindX11/Test/main.c
+++ b/Tests/FindX11/Test/main.c
@@ -496,7 +496,7 @@ int main(int argc, char* argv[])
#ifdef HAVE_xcb
test_xcb,
#endif
-#ifdef HAVE_xcb_util
+#ifdef HAVE_xcb_randr
test_xcb_randr,
#endif
#ifdef HAVE_xcb_util