mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
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.
This commit is contained in:
parent
82e392442c
commit
31872fa3b9
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user