mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
dev-cpp/scitokens-cpp: Install binaries and lib also if USE=TEST.
Upstream disables installation hard in that case. See also: https://github.com/scitokens/scitokens-cpp/issues/82 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
This commit is contained in:
2 files changed
+25
No files matched your search
@@ -0,0 +1,21 @@
|
||||
Bug: https://github.com/scitokens/scitokens-cpp/issues/82
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index ec5c878..611afb1 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -81,13 +81,12 @@ endif()
|
||||
enable_testing()
|
||||
add_subdirectory(test)
|
||||
|
||||
-else()
|
||||
+endif()
|
||||
get_directory_property(TARGETS BUILDSYSTEM_TARGETS)
|
||||
install(
|
||||
TARGETS ${TARGETS}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
|
||||
-endif()
|
||||
|
||||
install(
|
||||
FILES src/scitokens.h
|
||||
@@ -30,6 +30,10 @@ DEPEND="${RDEPEND}
|
||||
test? ( dev-cpp/gtest )"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/"${PN}"-0.7.0-install-when-testing.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Unbundle dev-cpp/gtest, dev-cpp/jwt-cpp
|
||||
rm -rvf vendor
|
||||
|
||||
Reference in new issue
Block a user