From 31872fa3b9dcb3f1d666546e7d850d7bca17f82a Mon Sep 17 00:00:00 2001 From: Lane Kolbly Date: Wed, 14 Oct 2020 18:12:59 -0500 Subject: mpm: Add dependency on pyusrp_periphs to MPM This change makes it so that changing the USRP periphs will cause a `make install` to reinstall the libpyusrp_periphs.so library. --- mpm/python/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpm/python/CMakeLists.txt b/mpm/python/CMakeLists.txt index b1bc9fa16..46bc1346b 100644 --- a/mpm/python/CMakeLists.txt +++ b/mpm/python/CMakeLists.txt @@ -48,7 +48,7 @@ add_custom_command(OUTPUT ${OUTPUT} COMMAND ${CMAKE_COMMAND} -DSOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}" -DBINARY_DIR="${CMAKE_CURRENT_BINARY_DIR}" -P ${CMAKE_CURRENT_SOURCE_DIR}/copy_python_module.cmake COMMAND ${PYTHON_EXECUTABLE} ${SETUP_PY} -q build COMMAND ${CMAKE_COMMAND} -E touch ${OUTPUT} - DEPENDS ${USRP_MPM_FILES}) + DEPENDS ${USRP_MPM_FILES} pyusrp_periphs) add_custom_target(usrp_mpm ALL DEPENDS ${OUTPUT} pyusrp_periphs) execute_process(COMMAND ${PYTHON_EXECUTABLE} -c -- cgit v1.2.3