dev-cpp/identiconpp: Update eclass: cmake-utils → cmake.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2020-10-24 10:40:14 +02:00
parent fff3413347
commit 2b18f191cc
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 10 additions and 10 deletions

View File

@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils
inherit cmake
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
@ -42,8 +42,6 @@ if [[ "${PV}" != "9999" ]]; then
fi
src_prepare() {
cmake-utils_src_prepare
if use doc; then
HTML_DOCS="doc/html/*"
fi
@ -54,10 +52,12 @@ src_prepare() {
if use test; then
mycmakeargs+=(-DWITH_TESTS=YES)
fi
cmake_src_prepare
}
src_compile() {
cmake-utils_src_compile
cmake_src_compile
if use doc; then
./build_doc.sh
@ -65,5 +65,5 @@ src_compile() {
}
src_test() {
BUILD_DIR="${BUILD_DIR}/tests" cmake-utils_src_test
BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
}

View File

@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils
inherit cmake
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
@ -42,8 +42,6 @@ if [[ "${PV}" != "9999" ]]; then
fi
src_prepare() {
cmake-utils_src_prepare
if use doc; then
HTML_DOCS="doc/html/*"
fi
@ -54,10 +52,12 @@ src_prepare() {
if use test; then
mycmakeargs+=(-DWITH_TESTS=YES)
fi
cmake_src_prepare
}
src_compile() {
cmake-utils_src_compile
cmake_src_compile
if use doc; then
./build_doc.sh
@ -65,5 +65,5 @@ src_compile() {
}
src_test() {
BUILD_DIR="${BUILD_DIR}/tests" cmake-utils_src_test
BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
}