File 0005-Do-not-build-tests.patch of Package upb
From d9235019bf71f757f733b836c77b924831a421a7 Mon Sep 17 00:00:00 2001
From: Michal Rostecki <mrostecki@opensuse.org>
Date: Mon, 4 Nov 2019 13:06:52 +0100
Subject: [PATCH 5/5] Do not build tests
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
---
CMakeLists.txt | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d0a5c7e..881ced4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -181,13 +181,13 @@ target_link_libraries(upb_cc_bindings INTERFACE
descriptor_upbproto
upb_handlers
upb)
-add_library(upb_test
- tests/testmain.cc
- tests/test_util.h
- tests/upb_test.h)
-target_link_libraries(upb_test
- upb_handlers
- upb)
+# add_library(upb_test
+# tests/testmain.cc
+# tests/test_util.h
+# tests/upb_test.h)
+# target_link_libraries(upb_test
+# upb_handlers
+# upb)
install(FILES
upb/decode.h
upb/encode.h
--
2.16.4