Skip to content

Commit

Permalink
use install-layout deb
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioan Sucan committed Sep 7, 2013
1 parent bc358e1 commit cc8a255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion urdf_parser_py/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ find_program(PYTHON "python")

if (PYTHON)
set(SETUP_PY "${CMAKE_CURRENT_SOURCE_DIR}/setup.py")
install(CODE "execute_process(COMMAND \"${PYTHON}\" \"${SETUP_PY}\" build --build-base \"${CMAKE_CURRENT_BINARY_DIR}/pybuild\" install --prefix \"${CMAKE_INSTALL_PREFIX}\"
install(CODE "execute_process(COMMAND \"${PYTHON}\" \"${SETUP_PY}\" build --build-base \"${CMAKE_CURRENT_BINARY_DIR}/pybuild\" install --install-layout deb --prefix \"${CMAKE_INSTALL_PREFIX}\"
WORKING_DIRECTORY \"${CMAKE_CURRENT_SOURCE_DIR}\")")
endif()

0 comments on commit cc8a255

Please sign in to comment.