build-style/cmake: add missing "{}"

This commit is contained in:
Đoàn Trần Công Danh 2021-02-20 13:10:46 +07:00
parent 154bc860a3
commit 2a1482daeb

View file

@ -69,7 +69,7 @@ _EOF
# Replace -isystem with -I
if [ "$CMAKE_GENERATOR" = "Unix Makefiles" ]; then
find . -name flags.make -exec sed -i -e 's/-isystem/-I/g' +
find . -name flags.make -exec sed -i -e 's/-isystem/-I/g' "{}" +
elif [ "$CMAKE_GENERATOR" = Ninja ]; then
sed -i -e 's/-isystem/-I/g' build.ninja
fi