Files
guru/dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch
Oliver Freyermuth dac4048ba0 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>
2022-02-27 15:51:29 +01:00

22 lines
493 B
Diff

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