aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python')
-rw-r--r--mpm/python/CMakeLists.txt6
-rwxr-xr-xmpm/python/usrp_mpm/chips/ic_reg_maps/CMakeLists.txt8
2 files changed, 7 insertions, 7 deletions
diff --git a/mpm/python/CMakeLists.txt b/mpm/python/CMakeLists.txt
index 9041347e1..b15578484 100644
--- a/mpm/python/CMakeLists.txt
+++ b/mpm/python/CMakeLists.txt
@@ -63,9 +63,9 @@ if(NOT ENABLE_SIM)
target_include_directories(pyusrp_periphs PUBLIC
${PYTHON_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}/lib/
- ${UHD_HOST_ROOT}/lib/usrp/common
- ${UHD_HOST_ROOT}/lib/usrp/common/ad9361_driver
- ${UHD_HOST_ROOT}/lib/deps/pybind11/include
+ ${UHD_SOURCE_DIR}/lib/usrp/common
+ ${UHD_SOURCE_DIR}/lib/usrp/common/ad9361_driver
+ ${UHD_SOURCE_DIR}/lib/deps/pybind11/include
)
target_link_libraries(pyusrp_periphs ${Boost_LIBRARIES} usrp-periphs)
add_custom_command(TARGET pyusrp_periphs POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/libpyusrp_periphs.so ${CMAKE_CURRENT_BINARY_DIR}/usrp_mpm/libpyusrp_periphs.so)
diff --git a/mpm/python/usrp_mpm/chips/ic_reg_maps/CMakeLists.txt b/mpm/python/usrp_mpm/chips/ic_reg_maps/CMakeLists.txt
index 1a49daef6..61b836700 100755
--- a/mpm/python/usrp_mpm/chips/ic_reg_maps/CMakeLists.txt
+++ b/mpm/python/usrp_mpm/chips/ic_reg_maps/CMakeLists.txt
@@ -27,19 +27,19 @@ endmacro(REG_MAPS_GEN_SOURCE)
if(ENABLE_REGMAPS)
# designate the file which will be used to generate all reg maps
- set(REG_MAPS_GEN_SOURCE_DEPS ${UHD_HOST_ROOT}/lib/ic_reg_maps/common.py)
+ set(REG_MAPS_GEN_SOURCE_DEPS ${UHD_SOURCE_DIR}/lib/ic_reg_maps/common.py)
# specify all reg maps you wish to generate
REG_MAPS_GEN_SOURCE(
- ${UHD_HOST_ROOT}/lib/ic_reg_maps/gen_lmk04816_regs.py
+ ${UHD_SOURCE_DIR}/lib/ic_reg_maps/gen_lmk04816_regs.py
${CMAKE_CURRENT_BINARY_DIR}/lmk04816_regs.py
)
REG_MAPS_GEN_SOURCE(
- ${UHD_HOST_ROOT}/lib/ic_reg_maps/gen_lmx2572_regs.py
+ ${UHD_SOURCE_DIR}/lib/ic_reg_maps/gen_lmx2572_regs.py
${CMAKE_CURRENT_BINARY_DIR}/lmx2572_regs.py
)
REG_MAPS_GEN_SOURCE(
- ${UHD_HOST_ROOT}/lib/ic_reg_maps/gen_zbx_cpld_regs.py
+ ${UHD_SOURCE_DIR}/lib/ic_reg_maps/gen_zbx_cpld_regs.py
${CMAKE_CURRENT_BINARY_DIR}/zbx_cpld_regs.py
)