default_pre_build &&
cd $SOURCE_DIRECTORY &&

sed '/Font.h/i #include <cstdint>' -i tests/featuremap/featuremaptest.cpp

find . -name CMakeLists.txt -exec sed -e 's/VERSION 2.8.0 FATAL_ERROR/VERSION 4.0.0/' \
                                      -e '/CMAKE_MINIMUM_REQUIRED/s/2.8.0/3.16.0/' \
                                      -e '/CREATE_LIBTOOL_FILE/D' \
                                      -e '/cmake_policy(SET CMP0012 NEW)/d' \
                                      -e 's/PythonInterp/Python3/' -i {} \;
