diff --git a/.travis_scripts/meson_builder.sh b/.travis_scripts/meson_builder.sh index 0820c890c..1fdd8f65d 100755 --- a/.travis_scripts/meson_builder.sh +++ b/.travis_scripts/meson_builder.sh @@ -65,7 +65,7 @@ _COMPILER_NAME=`basename ${CXX}` _BUILD_DIR_NAME="build-${BUILD_TYPE}_${LIB_TYPE}_${_COMPILER_NAME}" ./.travis_scripts/run-clang-format.sh -meson --buildtype ${BUILD_TYPE} --default-library ${LIB_TYPE} . "${_BUILD_DIR_NAME}" +meson --fatal-meson-warnings --werror --buildtype ${BUILD_TYPE} --default-library ${LIB_TYPE} . "${_BUILD_DIR_NAME}" ninja -v -j 2 -C "${_BUILD_DIR_NAME}" cd "${_BUILD_DIR_NAME}" diff --git a/meson.build b/meson.build index 65dcffa8c..aa50d8fbc 100644 --- a/meson.build +++ b/meson.build @@ -71,7 +71,7 @@ jsoncpp_dep = declare_dependency( ) # tests -python = import('python3').find_python() +python = import('python').find_installation() jsoncpp_test = executable( 'jsoncpp_test',