mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
sci-libs/ButterflyPACK: make options conditional to use
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -32,10 +32,9 @@ src_configure() {
|
||||
local pkgc="$(tc-getPKG_CONFIG)"
|
||||
local mycmakeargs=(
|
||||
-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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user