From caa2cc5cc1478ab66af15adb1979e63caea2eb77 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 19 Jun 2021 00:36:51 -0700 Subject: [PATCH] sumo: fix compilation when gtest is present Removes cmake check for gtest. Signed-off-by: Rosen Penev --- utils/sumo/patches/010-gtest.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 utils/sumo/patches/010-gtest.patch diff --git a/utils/sumo/patches/010-gtest.patch b/utils/sumo/patches/010-gtest.patch new file mode 100644 index 0000000000..66a941c88c --- /dev/null +++ b/utils/sumo/patches/010-gtest.patch @@ -0,0 +1,10 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -339,7 +339,6 @@ if (SUMO_LIBRARIES AND WIN32) + file(GLOB TEXTTEST_EXECUTABLE "${SUMO_LIBRARIES}/TextTest-*/texttest.exe") + else () + # for Linux and Mac only +- find_package(GTest) + endif () + + find_package(XercesC REQUIRED) -- 2.30.2