Use StripPath on CMAKE_PREFIX_PATH to avoid duplicates
1 unresolved thread
1 unresolved thread
Fixes LBCORE-1292
Merge request reports
Activity
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 Added 1 commit:
- 1ec272b1 - Reset CMAKE_PREFIX_PATH is strippath returns None
Mentioned in commit 85139359
Please register or sign in to reply