1 parent 90982b3 commit c5a9f15Copy full SHA for c5a9f15
1 file changed
script/ci.sh
@@ -19,7 +19,7 @@ if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" ]]; then
19
# Windows path handling is a never ending source of ...
20
INSTALL_PREFIX="$USERPROFILE\\.local"
21
INSTALL_PREFIX=$(cygpath -u "$INSTALL_PREFIX") # Make CMake happy when using git bash under windows
22
- export CMAKE_PREFIX_PATH=$INSTALL_PREFIX;$CMAKE_PREFIX_PATH # Notice the ";" instead of ":"
+ export CMAKE_PREFIX_PATH="${INSTALL_PREFIX}${CMAKE_PREFIX_PATH:+;${CMAKE_PREFIX_PATH}}" # Notice the ";" instead of ":"
23
else
24
INSTALL_PREFIX="$HOME/.local"
25
export CMAKE_PREFIX_PATH=$INSTALL_PREFIX:$CMAKE_PREFIX_PATH
0 commit comments