Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix split of CMAKE_PREFIX_PATH under Windows
Under Windows, the colon ':' is used after the drive letter. So, the colon should not be used as a list separator or for splitting, otherwise it could lead to paths in CMAKE_PREFIX_PATH with a semicolon ';' between the drive letter and the rest of the path, e.g: -DCMAKE_PREFIX_PATH=C;/foo/bar instead of -DCMAKE_PREFIX_PATH=C:/foo/bar Use os.pathsep instead of ':' to split the environmental variable CMAKE_PREFIX_PATH
- Loading branch information