Skip to content

Commit 8e7f419

Browse files
committed
Synced with master
1 parent 410a72d commit 8e7f419

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

classes/cmake.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ buildSetup: |
1111
[[ "$AUTOCONF_BUILD" == *-msys ]] && i="$(cygpath -m $i)"
1212
CMAKE_FIND_ROOT_PATH+="${CMAKE_FIND_ROOT_PATH:+;}$i"
1313
done
14-
# We should also add the sysroot path of gcc/g++ if available.
15-
if [[ "$CXX" == *"g++" ]] ; then
16-
SYSROOT="$($CXX -print-sysroot)"
17-
fi
18-
[ -z "${SYSROOT:+true}" ] || CMAKE_FIND_ROOT_PATH+=";${SYSROOT}"
1914
2015
# It is necessary to add the sysroot path of gcc/g++ if available too
2116
# because our host-compat-toolchain has a non-standard sysroot

0 commit comments

Comments
 (0)