diff options
Diffstat (limited to 'dev-util/bloaty/bloaty-1.1.ebuild')
-rw-r--r-- | dev-util/bloaty/bloaty-1.1.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-util/bloaty/bloaty-1.1.ebuild b/dev-util/bloaty/bloaty-1.1.ebuild index d72f426425c5..60319810d1f8 100644 --- a/dev-util/bloaty/bloaty-1.1.ebuild +++ b/dev-util/bloaty/bloaty-1.1.ebuild @@ -32,14 +32,17 @@ RDEPEND="${DEPEND}" src_configure() { local mycmakeargs=( + -DCMAKE_CXX_STANDARD=14 # needed by protobuf -DBLOATY_ENABLE_CMAKETARGETS=OFF -DBUILD_SHARED_LIBS=OFF ) + if [[ ${PV} == 9999 ]]; then mycmakeargs+=( -DBUILD_TESTING=$(usex test) $(usex test -DINSTALL_GTEST=OFF "") ) fi + cmake_src_configure } |