build BUGFIX compat header has in extension
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fd80f78..815131b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -184,7 +184,7 @@
 # source files to be covered by the 'format' target
 set(format_sources
     compat/*.c
-    compat/*.h
+    compat/*.h*
     src/*.c
     src/*.h
     src/plugins_exts/*