Changes between Initial Version and Version 1 of Ticket #65244, comment 9
- Timestamp:
- Jun 7, 2022, 7:15:54 PM (2 years ago)
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#L521 The CMakeLists appears to be using setup.py incorrectly: https://github.com/lensfun/lensfun/blob/v0.3.3/apps/CMakeLists.txt#L45 2 2 3 3 There is a `--root` option that should be used to specify a destroot (it should not just be prepended to the prefix); i.e. 4 4 {{{ 5 INSTALL(CODE "execute_process(COMMAND ${PYTHON _EXECUTABLE} ${SETUP_PY} install --prefix=${SETUP_PY_INSTALL_PREFIX}--root=\$ENV{DESTDIR})")5 INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install --prefix=${SETUP_PY_INSTALL_PREFIX} --root=\$ENV{DESTDIR})") 6 6 }}} 7 7 (untested)