diff options
author | Wolfgang Stöggl <c72578@yahoo.de> | 2019-11-02 09:33:42 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-11-02 23:37:15 +0200 |
commit | bd277690301955c23f8457f726cdc18325ac1b43 (patch) | |
tree | ba6ecc93adde9a92f7ce7348586ac217bd9893b8 /mesonbuild/modules/pkgconfig.py | |
parent | f5c88932810ded5ea3d4a2f4a8f0350635c3c44a (diff) | |
download | meson-bd277690301955c23f8457f726cdc18325ac1b43.zip meson-bd277690301955c23f8457f726cdc18325ac1b43.tar.gz meson-bd277690301955c23f8457f726cdc18325ac1b43.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 'mesonbuild/modules/pkgconfig.py')
0 files changed, 0 insertions, 0 deletions