Skip to content

Commit c5a9f15

Browse files
committed
Fix Windows path issue
1 parent 90982b3 commit c5a9f15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" ]]; then
1919
# Windows path handling is a never ending source of ...
2020
INSTALL_PREFIX="$USERPROFILE\\.local"
2121
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 ":"
22+
export CMAKE_PREFIX_PATH="${INSTALL_PREFIX}${CMAKE_PREFIX_PATH:+;${CMAKE_PREFIX_PATH}}" # Notice the ";" instead of ":"
2323
else
2424
INSTALL_PREFIX="$HOME/.local"
2525
export CMAKE_PREFIX_PATH=$INSTALL_PREFIX:$CMAKE_PREFIX_PATH

0 commit comments

Comments
 (0)