From c865ae7ec43eea117daad0a63672df5edef802e3 Mon Sep 17 00:00:00 2001 From: Axel Naumann Date: Tue, 12 Dec 2017 10:32:49 +0100 Subject: [PATCH] make fails to find sync_code.py with just "../doc". --- build/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt index 0408e6e8..6e6d4e52 100644 --- a/build/CMakeLists.txt +++ b/build/CMakeLists.txt @@ -102,7 +102,7 @@ else() endif() # sync examples in documentation with example folder -add_custom_target(sync_examples ALL COMMAND python ../doc/sync_code.py) +add_custom_target(sync_examples ALL COMMAND python ${PROJECT_SOURCE_DIR}/../doc/sync_code.py) # checks if(BUILD_CHECKS)