diff --git a/tests/data/mini_c_test/CMakeLists.txt b/tests/data/mini_c_test/CMakeLists.txt index 20b522e..c59b31c 100644 --- a/tests/data/mini_c_test/CMakeLists.txt +++ b/tests/data/mini_c_test/CMakeLists.txt @@ -47,7 +47,7 @@ add_custom_command( BYPRODUCTS mockup.h WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} COMMAND_EXPAND_LISTS - COMMAND python3 ${HAMMOCK_DIR}/hammocking.py --sources ${PROD_SRC} --plink ${CMAKE_CURRENT_BINARY_DIR}/${PROD_PARTIAL_LINK} --outdir ${CMAKE_CURRENT_BINARY_DIR} "-I$,;-I>" + COMMAND python ${HAMMOCK_DIR}/hammocking.py --sources ${PROD_SRC} --plink ${CMAKE_CURRENT_BINARY_DIR}/${PROD_PARTIAL_LINK} --outdir ${CMAKE_CURRENT_BINARY_DIR} "-I$,;-I>" DEPENDS ${HAMMOCK_DIR}/hammocking.py ${PROD_PARTIAL_LINK}