File kleidiai-install_test.patch of Package kleidiai

--- kleidiai-v1.8.0/CMakeLists.txt.orig	2025-05-22 14:17:58.475169300 +0200
+++ kleidiai-v1.8.0/CMakeLists.txt	2025-05-22 14:24:08.697279200 +0200
@@ -420,6 +420,11 @@ if(KLEIDIAI_BUILD_TESTS)
         PRIVATE GTest::gtest_main
     )
 
+    install(TARGETS kleidiai_test
+        LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+        ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+        RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
+
     # Cross-compiling is a common use case which creates a conflict if DISCOVERY_MODE is set to POST_BUILD (by default)
     # since the host platform does not match the target. Setting the mode to PRE_TEST avoids this conflict. This feature
     # was added in CMake 3.18
openSUSE Build Service is sponsored by