mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-04 06:00:30 +00:00
debian: python woes
This commit is contained in:
parent
e883ed805a
commit
43e6d6577d
@ -592,15 +592,19 @@ if(${BUILD_PYTHON})
|
|||||||
install(
|
install(
|
||||||
CODE "execute_process(
|
CODE "execute_process(
|
||||||
COMMAND
|
COMMAND
|
||||||
${Python3_EXECUTABLE} ${SETUP_PY} install --root=${CMAKE_SOURCE_DIR}/debian/tmp --install-layout=deb --prefix=/usr --skip-build
|
${Python3_EXECUTABLE} ${SETUP_PY} install --prefix=/usr --skip-build --root=${CMAKE_SOURCE_DIR}/debian/tmp --install-layout=deb
|
||||||
WORKING_DIRECTORY
|
WORKING_DIRECTORY
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/python
|
${CMAKE_CURRENT_BINARY_DIR}/python
|
||||||
)"
|
)"
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
install(
|
install(
|
||||||
CODE
|
CODE "execute_process(
|
||||||
"execute_process(COMMAND ${Python3_EXECUTABLE} ${SETUP_PY} install --prefix=${CMAKE_INSTALL_PREFIX})"
|
COMMAND
|
||||||
|
${Python3_EXECUTABLE} ${SETUP_PY} install --prefix=${CMAKE_INSTALL_PREFIX} --skip-build
|
||||||
|
WORKING_DIRECTORY
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/python
|
||||||
|
)"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user