Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1938649 Details for
Bug 2160996
Review Request: draco - A library for compressing and decompressing 3D geometric meshes and point clouds
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh109 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
Migrated Products
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
Downstream-only patch to use system gtest library
0001-Use-system-gtest.patch (text/plain), 2.11 KB, created by
Ben Beasley
on 2023-01-17 16:39:50 UTC
(
hide
)
Description:
Downstream-only patch to use system gtest library
Filename:
MIME Type:
Creator:
Ben Beasley
Created:
2023-01-17 16:39:50 UTC
Size:
2.11 KB
patch
obsolete
>From 887cea73f798ab4b8947ed55f600fdfddc263915 Mon Sep 17 00:00:00 2001 >From: "Benjamin A. Beasley" <code@musicinmybrain.net> >Date: Mon, 16 Jan 2023 21:48:15 -0500 >Subject: [PATCH] Use system gtest > >--- > cmake/draco_tests.cmake | 29 ++++------------------------- > 1 file changed, 4 insertions(+), 25 deletions(-) > >diff --git a/cmake/draco_tests.cmake b/cmake/draco_tests.cmake >index 2d7f05e..b0a2977 100644 >--- a/cmake/draco_tests.cmake >+++ b/cmake/draco_tests.cmake >@@ -102,29 +102,8 @@ endif() > > macro(draco_setup_test_targets) > if(DRACO_TESTS) >- draco_setup_googletest() >- >- if(NOT (EXISTS ${draco_gtest_all} AND EXISTS ${draco_gtest_main})) >- message(FATAL_ERROR "googletest missing, run git submodule update --init") >- endif() >- >- list(APPEND draco_test_defines GTEST_HAS_PTHREAD=0) >- >- draco_add_library( >- TEST >- NAME draco_gtest >- TYPE STATIC >- SOURCES ${draco_gtest_all} >- DEFINES ${draco_defines} ${draco_test_defines} >- INCLUDES ${draco_test_include_paths}) >- >- draco_add_library( >- TEST >- NAME draco_gtest_main >- TYPE STATIC >- SOURCES ${draco_gtest_main} >- DEFINES ${draco_defines} ${draco_test_defines} >- INCLUDES ${draco_test_include_paths}) >+ find_package(GTest REQUIRED) >+ list(APPEND draco_test_include_paths ${draco_include_paths}) > > set(DRACO_TEST_DATA_DIR "${draco_root}/testdata") > set(DRACO_TEST_TEMP_DIR "${draco_build}/draco_test_temp") >@@ -140,13 +119,13 @@ macro(draco_setup_test_targets) > SOURCES ${draco_test_sources} > DEFINES ${draco_defines} ${draco_test_defines} > INCLUDES ${draco_test_include_paths} >- LIB_DEPS ${draco_dependency} draco_gtest draco_gtest_main) >+ LIB_DEPS ${draco_dependency} GTest::gtest GTest::gtest_main) > > draco_add_executable( > NAME draco_factory_tests > SOURCES ${draco_factory_test_sources} > DEFINES ${draco_defines} ${draco_test_defines} > INCLUDES ${draco_test_include_paths} >- LIB_DEPS ${draco_dependency} draco_gtest draco_gtest_main) >+ LIB_DEPS ${draco_dependency} GTest::gtest GTest::gtest_main) > endif() > endmacro() >-- >2.38.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2160996
: 1938649 |
1938650
|
1939112
|
1939320
|
1939783
|
1939785
|
1940011