Changes between Initial Version and Version 1 of Ticket #65244, comment 9


Ignore:
Timestamp:
Jun 7, 2022, 7:15:54 PM (2 years ago)
Author:
jmroot (Joshua Root)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #65244, comment 9

    initial v1  
    1 The CMakeLists appears to be using setup.py incorrectly: https://github.com/lensfun/lensfun/blob/master/apps/CMakeLists.txt#L52
     1The CMakeLists appears to be using setup.py incorrectly: https://github.com/lensfun/lensfun/blob/v0.3.3/apps/CMakeLists.txt#L45
    22
    33There is a `--root` option that should be used to specify a destroot (it should not just be prepended to the prefix); i.e.
    44{{{
    5 INSTALL(CODE "execute_process(COMMAND ${PYTHON_EXECUTABLE} ${SETUP_PY} install --prefix=${SETUP_PY_INSTALL_PREFIX} --root=\$ENV{DESTDIR})")
     5INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install --prefix=${SETUP_PY_INSTALL_PREFIX} --root=\$ENV{DESTDIR})")
    66}}}
    77(untested)