|
|
commit 3fc8875756c3ce02b1b45bd0383a0c307c442dde
Author: Albrecht Schlosser <albrechts.fltk@online.de>
AuthorDate: Thu Apr 18 17:33:57 2024 +0200
Commit: Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Thu Apr 18 17:33:57 2024 +0200
Add missing 'x11.H' to exclusion list (STR 2728)
test/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git test/CMakeLists.txt test/CMakeLists.txt
index 8f965ad..3a1db70 100644
--- test/CMakeLists.txt
+++ 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()
[ Direct Link to Message ] | |
|
| |