diff options
Diffstat (limited to 'dev-cpp/scitokens-cpp/files')
| -rw-r--r-- | dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch | 21 |
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 |
