Ticket #65244: patch.diff

File patch.diff, 538 bytes (added by parafin, 2 years ago)

source code patch

  • apps/CMakeLists.txt

    old new  
    4242    IF(NOT DEFINED SETUP_PY_INSTALL_PREFIX)
    4343      SET(SETUP_PY_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
    4444    ENDIF()
    45     INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install --prefix=\$ENV{DESTDIR}${SETUP_PY_INSTALL_PREFIX})")
     45    INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install --prefix=${SETUP_PY_INSTALL_PREFIX} --root=\$ENV{DESTDIR})")
    4646ENDIF(PYTHON)