aports/testing/draco/0007-gtest.patch
Holger Jaekel 31cab7e4d7 testing/draco: new aport
Library for compressing and decompressing 3D geometric meshes and point clouds
https://google.github.io/draco/
2024-06-25 11:30:29 +00:00

21 lines
823 B
Diff

Author: Holger Jaekel <holger.jaekel@gmx.de>
Summary: use gtest package
----
--- a/cmake/draco_dependencies.cmake
+++ b/cmake/draco_dependencies.cmake
@@ -107,11 +107,10 @@
endif()
list(APPEND draco_test_include_paths ${draco_include_paths}
- "${gtest_path}/include" "${gtest_path}/googlemock"
- "${gtest_path}/googletest/include" "${gtest_path}/googletest")
+ "${gtest_path}/include/gmock/" "${gtest_path}/include/gtest/" "${gtest_path}/src/gtest/")
- list(APPEND draco_gtest_all "${gtest_path}/googletest/src/gtest-all.cc")
- list(APPEND draco_gtest_main "${gtest_path}/googletest/src/gtest_main.cc")
+ list(APPEND draco_gtest_all "${gtest_path}/src/gtest/src/gtest-all.cc")
+ list(APPEND draco_gtest_main "${gtest_path}/src/gtest/src/gtest_main.cc")
endmacro()