Merge pull request #40 from Axel-Naumann/cmake-srcdir-sync_codepy

make fails to find sync_code.py with just "../doc".
This commit is contained in:
Hans Dembinski
2017-12-12 11:34:20 +01:00
committed by GitHub

View File

@@ -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)