Skip to content
Snippets Groups Projects

Use StripPath on CMAKE_PREFIX_PATH to avoid duplicates

Merged Ben Couturier requested to merge LBCORE-1292 into master
1 unresolved thread

Fixes LBCORE-1292

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1332 1333 os.path.join(LBSCRIPTS_HOME, *path2)]
1333 1334 if ev.get("CMAKE_PREFIX_PATH", ""):
1334 1335 paths.append(ev.get("CMAKE_PREFIX_PATH", ""))
1335 ev["CMAKE_PREFIX_PATH"] = os.pathsep.join(paths )
1336 1336
1337 # Sanitizing, deduplicating the list
1338 cmakeprefixpath = StripPath(os.pathsep.join(paths))
1339 if cmakeprefixpath is not None:
1340 ev["CMAKE_PREFIX_PATH"] = cmakeprefixpath
  • Ben Couturier Added 1 commit:

    Added 1 commit:

    • 1ec272b1 - Reset CMAKE_PREFIX_PATH is strippath returns None

    Compare with previous version

  • Ben Couturier Added 1 commit:

    Added 1 commit:

    Compare with previous version

  • Ben Couturier Added 1 commit:

    Added 1 commit:

    Compare with previous version

  • Ben Couturier Status changed to merged

    Status changed to merged

  • Ben Couturier Mentioned in commit 85139359

    Mentioned in commit 85139359

  • Please register or sign in to reply
    Loading