diff --git a/CMakeLists.txt b/CMakeLists.txt
index a0be364ecae4c2289989a19eca53aa1d036cb08b..af00b35fb03d1f95a69d018a1c6b570249c8ecbf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,7 +25,8 @@ SET(PROJECT_NAME sot-talos-balance)
 SET(PROJECT_DESCRIPTION "Collection of dynamic-graph entities aimed at implementing balance control on talos.")
 SET(PROJECT_URL "https://gepgitlab.laas.fr/loco-3d/sot-talos-balance")
 
-SET(CUSTOM_HEADER_DIR "sot/talos-balance")
+# So that generated headers are in same place as standard ones
+SET(CUSTOM_HEADER_DIR "sot/talos_balance")
 
 SET(DOXYGEN_USE_MATHJAX YES)