From 3fc8875756c3ce02b1b45bd0383a0c307c442dde Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 18 Apr 2024 17:33:57 +0200 Subject: Add missing 'x11.H' to exclusion list (STR 2728) --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 8f965adf2..3a1db7070 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -243,7 +243,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang foreach(hd ${all_headers}) get_filename_component(hd "${hd}" NAME) # skip headers that must not be included directly and fl_config.h if it exists - string(REGEX MATCH "^(mac|win32|wayland|fl_config)\.[hH]$" skip "${hd}") + string(REGEX MATCH "^(mac|win32|x11|wayland|fl_config)\.[hH]$" skip "${hd}") if(skip STREQUAL "") file(APPEND ${include_all} "#include \n") endif() -- cgit v1.2.3