dev-cpp/xtensor: use cmake_build instead of emake

Signed-off-by: Kamal Abdellatif <gentoo.kamal@tgf.pw>
This commit is contained in:
Kamal Abdellatif
2023-02-13 15:14:57 +00:00
parent b93d114e0d
commit 1c766603e2

View File

@@ -3,7 +3,7 @@
EAPI=8
# required because of manuall install in src_install
# required because of manual install in src_install
CMAKE_MAKEFILE_GENERATOR="emake"
PYTHON_COMPAT=( python3_{9..11} )
@@ -88,9 +88,9 @@ src_test() {
}
src_install() {
# default install starts compiling more tests
# that do not affect the header-only install image
DESTDIR="${D}" emake -C "${BUILD_DIR}" install/fast "$@"
# Default install target depends on tests with USE=test enabled.
# However, this is a header-only library.
DESTDIR="${D}" cmake_build install/fast "$@"
einstalldocs
}