mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 23:46:14 -04:00
sci-libs/ButterflyPACK: make options conditional to use
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
parent
0c611d7b3c
commit
c41c83f1e0
@ -32,10 +32,9 @@ src_configure() {
|
|||||||
local pkgc="$(tc-getPKG_CONFIG)"
|
local pkgc="$(tc-getPKG_CONFIG)"
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
-DBUILD_SHARED_LIBS=ON
|
-DBUILD_SHARED_LIBS=ON
|
||||||
|
|
||||||
"-DTPL_ARPACK_LIBRARIES=$(${pkgc} --libs arpack)"
|
|
||||||
"-DTPL_MAGMA_LIBRARIES=$(${pkgc} --libs magma)"
|
|
||||||
)
|
)
|
||||||
|
use arpack && mycmakeargs+=( "-DTPL_ARPACK_LIBRARIES=$(${pkgc} --libs arpack)" )
|
||||||
|
use magma && mycmakeargs+=( "-DTPL_MAGMA_LIBRARIES=$(${pkgc} --libs magma)" )
|
||||||
cmake_src_configure
|
cmake_src_configure
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user