coin3: build with CMAKE_BUILD_TYPE=None

This commit is contained in:
Đoàn Trần Công Danh 2021-03-27 11:27:28 +07:00
parent fd1b306baa
commit dc7aff0db0

View file

@ -5,7 +5,7 @@ revision=1
wrksrc="coin-Coin-${version}"
build_style=cmake
configure_args="-DCMAKE_INSTALL_INCLUDEDIR=/usr/include/Coin3
-DCMAKE_BUILD_TYPE=Release -DCOIN_BUILD_TESTS=OFF -DCOIN_BUILD_DOCUMENTATION=ON"
-DCOIN_BUILD_TESTS=OFF -DCOIN_BUILD_DOCUMENTATION=ON"
hostmakedepends="doxygen graphviz"
makedepends="boost-devel glu-devel"
short_desc="High-level 3D graphics toolkit"
@ -15,6 +15,9 @@ homepage="https://coin3d.github.io/"
distfiles="https://github.com/coin3d/coin/archive/Coin-${version}.tar.gz"
checksum=b00d2a8e9d962397cf9bf0d9baa81bcecfbd16eef675a98c792f5cf49eb6e805
CFLAGS=-DNDEBUG
CXXFLAGS=-DNDEBUG
if [ "$CROSS_BUILD" ]; then
# bypass runtime test (quote hashing is fine with gcc 9.3)
configure_args+=" -DHAVE_HASH_QUOTING_EXITCODE=0"