diff --git a/Utilities/Doxygen/CMakeLists.txt b/Utilities/Doxygen/CMakeLists.txt
index 78aeb77530c7f8ca58bbfdd7423ad3193f2285e3..64d3e2598fbea20f7f436b3278df58b8f1dbca44 100644
--- a/Utilities/Doxygen/CMakeLists.txt
+++ b/Utilities/Doxygen/CMakeLists.txt
@@ -27,7 +27,7 @@ foreach(otb-module ${DOX_MODULE_LIST})
   endif()
 endforeach()
 
-#list( APPEND DOXYGEN_TEST_DIRS "\"${OTB_SOURCE_DIR}/Examples\" \n")
+list( APPEND DOXYGEN_TEST_DIRS "\"${OTB_SOURCE_DIR}/Examples\" \\\n")
 
 # By definition DOXYGEN_TEST_DIRS can not be empty. In the worst case if
 # BUILD_TESTING is turned OFF, there is only ${OTB_SOURCE_DIR}/Examples;