mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
Enforce the location where python libraries are installed (/lib and not /lib64 or some other random directory)
This commit is contained in:
parent
ffb41cc94a
commit
d6d71174de
3 changed files with 13 additions and 4 deletions
4
external/python_install.cmake
vendored
4
external/python_install.cmake
vendored
|
@ -4,8 +4,10 @@ SET(ENV{CPPFLAGS} ${PYTHON_CPPFLAGS})
|
|||
SET(ENV{LDFLAGS} ${PYTHON_LDFLAGS})
|
||||
SET(ENV{VOID_GSL} ${VOID_GSL})
|
||||
SET(ENV{PYTHONPATH} ${PYTHON_LOCAL_SITE_PACKAGE}:$ENV{PYTHONPATH})
|
||||
SET(PYTHON_INSTALL_COMMAND ${PYTHON_EXECUTABLE} setup.py install --prefix=${TARGET_PATH} --install-lib=${PYTHON_LOCAL_SITE_PACKAGE})
|
||||
message(STATUS "Running ${PYTHON_INSTALL_COMMAND}")
|
||||
execute_process(
|
||||
COMMAND ${PYTHON_EXECUTABLE} setup.py install --prefix=${TARGET_PATH}
|
||||
COMMAND ${PYTHON_INSTALL_COMMAND}
|
||||
RESULT_VARIABLE RET_VALUE
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue