build-style/cmake: replace sed monstrosity with ${wrksrc}/${build_wrksrc}
This commit is contained in:
parent
38c0942636
commit
446425847d
1 changed files with 1 additions and 2 deletions
|
@ -65,8 +65,7 @@ _EOF
|
|||
export CMAKE_GENERATOR="${CMAKE_GENERATOR:-Ninja}"
|
||||
# Override flags: https://gitlab.kitware.com/cmake/cmake/issues/19590
|
||||
CFLAGS="${CFLAGS/ -pipe / }" CXXFLAGS="${CXXFLAGS/ -pipe / }" \
|
||||
cmake ${cmake_args} ${configure_args} $(echo ${cmake_builddir}|sed \
|
||||
-e 's|[^/]$|/|' -e 's|[^/]*||g' -e 's|/|../|g')
|
||||
cmake ${cmake_args} ${configure_args} ${wrksrc}/${build_wrksrc}
|
||||
|
||||
# Replace -isystem with -I for Qt4 and Qt5 packages
|
||||
find -name flags.make -exec sed -i "{}" -e"s;-isystem;-I;g" \;
|
||||
|
|
Loading…
Reference in a new issue