Skip to content

Commit 4f999a0

Browse files
committed
classes/cmake: fixed bash if syntax
1 parent 9f785f6 commit 4f999a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes/cmake.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buildScript: |
1212
CMAKE_FIND_ROOT_PATH+="${CMAKE_FIND_ROOT_PATH:+;}$i"
1313
done
1414
# We should also add the sysroot path of gcc/g++ if available.
15-
if[[ "$CXX" == *"g++" ]] ; then
15+
if [[ "$CXX" == *"g++" ]] ; then
1616
SYSROOT="$($CXX -print-sysroot)"
1717
fi
1818
[ -z "${SYSROOT:+true}" ] || CMAKE_FIND_ROOT_PATH+=";${SYSROOT}"

0 commit comments

Comments
 (0)