Skip to content

python/regina/CMakeLists.txt does not honor CMAKE_INSTALL_PREFIX #84

@fogti

Description

@fogti

when "just" setting CMAKE_INSTALL_PREFIX when invoking cmake, installation of regina-python fails with

CMake Error at python/regina/cmake_install.cmake:54 (file):
  file cannot create directory: /usr/lib/python3.12/site-packages/regina.
  Maybe need administrative privileges.
Call Stack (most recent call first):
  python/cmake_install.cmake:83 (include)
  cmake_install.cmake:50 (include)

when it should actually install into $CMAKE_INSTALL_PREFIX/lib/python3.12/site-packages/regina...

(REGINA_INSTALL_TYPE is set to XDG, but DESTDIR is unset)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions