diff options
author | Ruben Undheim <ruben.undheim@gmail.com> | 2018-07-13 16:36:06 +0200 |
---|---|---|
committer | Ruben Undheim <ruben.undheim@gmail.com> | 2018-07-13 20:06:07 +0200 |
commit | 3254266ee46144e783cf3fb127644db1ec181a47 (patch) | |
tree | 9e150bdfe38f98f11542160ff468b50bf2655ee9 | |
parent | 882e92993366fd24475807a9ab31f40e495d7741 (diff) |
Fixes install location of python package
Gbp-Pq: Name 01_fixpythoninstall.patch
-rw-r--r-- | host/python/specan_ui/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/python/specan_ui/CMakeLists.txt b/host/python/specan_ui/CMakeLists.txt index c365bd5..21b206d 100644 --- a/host/python/specan_ui/CMakeLists.txt +++ b/host/python/specan_ui/CMakeLists.txt @@ -31,7 +31,7 @@ add_custom_command(OUTPUT ${OUTPUT}/timestamp DEPENDS ${DEPS}) add_custom_target(specan ALL DEPENDS ${OUTPUT}/timestamp) -install(CODE "execute_process(COMMAND ${PYTHON_EXECUTABLE} ${SETUP_PY} build -b ${OUTPUT} install)") +install(CODE "execute_process(COMMAND ${PYTHON_EXECUTABLE} ${SETUP_PY} build -b ${OUTPUT} install --root=${CMAKE_SOURCE_DIR}/../debian/tmp --install-layout=deb)") add_custom_target(ubertooth-specan-ui ALL DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ubertooth-specan-ui) install(PROGRAMS ubertooth-specan-ui DESTINATION ${INSTALL_DEFAULT_BINDIR}) |