diff --git a/Documentation/Examples/Algorithms/CMakeLists.txt b/Documentation/Examples/Algorithms/CMakeLists.txt
index a2fc4569da1de701087a321256d0f2ce836c1dd1..c0a324a8314c6329c6734a1de0add8f37945390f 100644
--- a/Documentation/Examples/Algorithms/CMakeLists.txt
+++ b/Documentation/Examples/Algorithms/CMakeLists.txt
@@ -12,6 +12,7 @@ set( HOST_EXAMPLES
    staticForExample
    unrolledForExample
 )
+
 if( BUILD_CUDA )
    foreach( target IN ITEMS ${COMMON_EXAMPLES} )
       cuda_add_executable( ${target}-cuda ${target}.cu OPTIONS )
@@ -19,15 +20,21 @@ if( BUILD_CUDA )
       set( CUDA_OUTPUTS ${CUDA_OUTPUTS} ${target}.out )
    endforeach()
 else()
-   foreach( target IN ITEMS ${COMMON_EXAMPLES} ${HOST_EXAMPLES})
+   foreach( target IN ITEMS ${COMMON_EXAMPLES} )
       add_executable( ${target} ${target}.cpp )
       add_custom_command( COMMAND ${target} > ${TNL_DOCUMENTATION_OUTPUT_SNIPPETS_PATH}/${target}.out OUTPUT ${target}.out )
       set( HOST_OUTPUTS ${HOST_OUTPUTS} ${target}.out )
    endforeach()
 endif()
 
+foreach( target IN ITEMS ${HOST_EXAMPLES} )
+   add_executable( ${target} ${target}.cpp )
+   add_custom_command( COMMAND ${target} > ${TNL_DOCUMENTATION_OUTPUT_SNIPPETS_PATH}/${target}.out OUTPUT ${target}.out )
+   set( HOST_OUTPUTS ${HOST_OUTPUTS} ${target}.out )
+endforeach()
+
 IF( BUILD_CUDA )
    ADD_CUSTOM_TARGET( RunAlgorithmsExamples-cuda ALL DEPENDS ${CUDA_OUTPUTS} )
 ELSE()
    ADD_CUSTOM_TARGET( RunAlgorithmsExamples ALL DEPENDS ${HOST_OUTPUTS} )
-ENDIF()
\ No newline at end of file
+ENDIF()