summaryrefslogtreecommitdiff
path: root/dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-12 21:03:09 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-12 21:03:09 +0000
commitd97953e6ff67978da9554e7b4601aedceb21e215 (patch)
tree674053c902db6972b9716c9ac3b1e960ee7a5358 /dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch
parent1d1fa5bb30df70070bbbbd2b777b839d31f09c41 (diff)
downloadsrcux-d97953e6ff67978da9554e7b4601aedceb21e215.tar.gz
srcux-d97953e6ff67978da9554e7b4601aedceb21e215.tar.xz
srcux-d97953e6ff67978da9554e7b4601aedceb21e215.zip
Adding metadata
Diffstat (limited to 'dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch')
-rw-r--r--dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch b/dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch
new file mode 100644
index 000000000000..c2b50081090e
--- /dev/null
+++ b/dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch
@@ -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