You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Note below we make sure to install with --user iff not in a virtualenv
267
+
set(GTSAM_PYTHON_INSTALL_TARGET python-install)
268
+
add_custom_target(${GTSAM_PYTHON_INSTALL_TARGET}
269
+
COMMAND${PYTHON_EXECUTABLE} -c "import sys, subprocess; cmd = [sys.executable, '-m', 'pip', 'install']; has_venv = hasattr(sys, 'real_prefix') or (hasattr(sys, 'base_prefix') and sys.base_prefix != sys.prefix); cmd.append('--user' if not has_venv else ''); cmd.append('.'); subprocess.check_call([c for c in cmd if c])"
0 commit comments