mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-12 10:03:51 +01:00
Avoid deprecated Meson feature
* https://mesonbuild.com/Python-3-module.html > This module is deprecated and replaced by the python module.
This commit is contained in:
parent
fb9aaf8112
commit
ec9302c4ed
@ -65,7 +65,7 @@ _COMPILER_NAME=`basename ${CXX}`
|
|||||||
_BUILD_DIR_NAME="build-${BUILD_TYPE}_${LIB_TYPE}_${_COMPILER_NAME}"
|
_BUILD_DIR_NAME="build-${BUILD_TYPE}_${LIB_TYPE}_${_COMPILER_NAME}"
|
||||||
|
|
||||||
./.travis_scripts/run-clang-format.sh
|
./.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}"
|
ninja -v -j 2 -C "${_BUILD_DIR_NAME}"
|
||||||
|
|
||||||
cd "${_BUILD_DIR_NAME}"
|
cd "${_BUILD_DIR_NAME}"
|
||||||
|
@ -71,8 +71,7 @@ jsoncpp_dep = declare_dependency(
|
|||||||
)
|
)
|
||||||
|
|
||||||
# tests
|
# tests
|
||||||
#python = import('python3').find_python()
|
python = import('python').find_installation()
|
||||||
python = find_program('python3', 'python')
|
|
||||||
|
|
||||||
jsoncpp_test = executable(
|
jsoncpp_test = executable(
|
||||||
'jsoncpp_test',
|
'jsoncpp_test',
|
||||||
|
Loading…
Reference in New Issue
Block a user