diff options
author | Lane Kolbly <lane.kolbly@ni.com> | 2020-10-14 18:12:59 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-10-15 07:51:52 -0500 |
commit | 31872fa3b9dcb3f1d666546e7d850d7bca17f82a (patch) | |
tree | 190525a0888f3e0670df922a9e2945aeabea7c19 | |
parent | 82e392442ca2531b33e622d8ddf37ee70bb5cb50 (diff) | |
download | uhd-31872fa3b9dcb3f1d666546e7d850d7bca17f82a.tar.gz uhd-31872fa3b9dcb3f1d666546e7d850d7bca17f82a.tar.bz2 uhd-31872fa3b9dcb3f1d666546e7d850d7bca17f82a.zip |
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.
-rw-r--r-- | mpm/python/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |