aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schäfer <gentryx@gmx.de>2014-02-04 23:28:44 +0100
committerAndreas Schäfer <gentryx@gmx.de>2014-02-04 23:28:44 +0100
commit7bef5b4d61c60bbd24afe0736d1c0c0f68bcc2c7 (patch)
tree722118836be0b6758e8f72b64b314c1008c1272f /sci-visualization/visit
parentadded debug and threads use flags to VisIt (diff)
downloadsci-7bef5b4d61c60bbd24afe0736d1c0c0f68bcc2c7.tar.gz
sci-7bef5b4d61c60bbd24afe0736d1c0c0f68bcc2c7.tar.bz2
sci-7bef5b4d61c60bbd24afe0736d1c0c0f68bcc2c7.zip
refactored setting of threads use flag for VisIt
Diffstat (limited to 'sci-visualization/visit')
-rw-r--r--sci-visualization/visit/visit-2.7.1.ebuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/sci-visualization/visit/visit-2.7.1.ebuild b/sci-visualization/visit/visit-2.7.1.ebuild
index c91c19f90..928e60fa4 100644
--- a/sci-visualization/visit/visit-2.7.1.ebuild
+++ b/sci-visualization/visit/visit-2.7.1.ebuild
@@ -46,12 +46,8 @@ src_configure() {
-DVISIT_VTK_SKIP_INSTALL=true
-DQT_BIN="${EPREFIX}/usr/bin"
-DVISIT_ZLIB_DIR="${EPREFIX}/usr"
+ $(cmake-utils_use threads VISIT_THREAD)
)
- if use threads; then
- mycmakeargs+=( -DVISIT_THREAD=true )
- else
- mycmakeargs+=( -DVISIT_THREAD=false )
- fi
if use hdf5; then
mycmakeargs+=( -DHDF5_DIR="${EPREFIX}/usr" )
fi