diff options
author | Wolfgang Stöggl <c72578@yahoo.de> | 2019-11-02 09:33:42 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-11-07 17:32:07 +0530 |
commit | f89b7effb50b6c94e941ee5cbbc33ab4f60d0f09 (patch) | |
tree | f82d317ea5beab7139efe776c54319c6b4091ae9 /compile_meson.py | |
parent | 45f0f3cdd0f83b9eb1678da446a0be0f1562f3a4 (diff) | |
download | meson-f89b7effb50b6c94e941ee5cbbc33ab4f60d0f09.zip meson-f89b7effb50b6c94e941ee5cbbc33ab4f60d0f09.tar.gz meson-f89b7effb50b6c94e941ee5cbbc33ab4f60d0f09.tar.bz2 |
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
Diffstat (limited to 'compile_meson.py')
0 files changed, 0 insertions, 0 deletions