From 30cc3059bde02ebcf2dd2523266942221a4c0ae4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkovsky@mmg.fjfi.cvut.cz>
Date: Sat, 8 Jan 2022 12:07:32 +0100
Subject: [PATCH] Fixed RunAlgorithmsExamples-cuda target in CMakeLists.txt

---
 Documentation/Examples/Algorithms/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/Examples/Algorithms/CMakeLists.txt b/Documentation/Examples/Algorithms/CMakeLists.txt
index c0a324a831..f4779bc810 100644
--- a/Documentation/Examples/Algorithms/CMakeLists.txt
+++ b/Documentation/Examples/Algorithms/CMakeLists.txt
@@ -34,7 +34,7 @@ foreach( target IN ITEMS ${HOST_EXAMPLES} )
 endforeach()
 
 IF( BUILD_CUDA )
-   ADD_CUSTOM_TARGET( RunAlgorithmsExamples-cuda ALL DEPENDS ${CUDA_OUTPUTS} )
+   ADD_CUSTOM_TARGET( RunAlgorithmsExamples-cuda ALL DEPENDS ${CUDA_OUTPUTS} ${HOST_OUTPUTS} )
 ELSE()
    ADD_CUSTOM_TARGET( RunAlgorithmsExamples ALL DEPENDS ${HOST_OUTPUTS} )
 ENDIF()
-- 
GitLab