summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2024-04-18 17:33:57 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2024-04-18 17:33:57 +0200
commit3fc8875756c3ce02b1b45bd0383a0c307c442dde (patch)
tree5e659d9b4f64e43f9cef722009fda4bf95c5f519
parentbb45198413ef8efe236afbd665a4623239ac0da0 (diff)
Add missing 'x11.H' to exclusion list (STR 2728)
-rw-r--r--test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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 <FL/${hd}>\n")
endif()