dev-cpp/parallel-hashmap: fix cmake invocation

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-07-07 18:16:17 +02:00
parent 3c59924fe7
commit 37d8d1f21f
3 changed files with 7 additions and 47 deletions

View File

@@ -3,6 +3,8 @@
EAPI=8
CMAKE_MAKEFILE_GENERATOR=emake
inherit cmake
DESCRIPTION="Family of header-only, fast and memory-friendly hashmap and btree containers"
@@ -25,13 +27,13 @@ RDEPEND="${CDEPEND}"
# https://github.com/greg7mdp/parallel-hashmap/issues/154
RESTRICT="test"
src_compile() {
mycmakeargs=(
PHMAP_BUILD_EXAMPLES=$(usex examples)
PHMAP_BUILD_TESTS=$(usex test)
src_configure() {
local mycmakeargs=(
-DPHMAP_BUILD_EXAMPLES=$(usex examples)
-DPHMAP_BUILD_TESTS=$(usex test)
)
cmake_src_compile
cmake_src_configure
}
src_install() {