From: Rosen Penev Date: Sat, 19 Jun 2021 07:36:51 +0000 (-0700) Subject: sumo: fix compilation when gtest is present X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=caa2cc5cc1478ab66af15adb1979e63caea2eb77;p=openwrt-packages.git sumo: fix compilation when gtest is present Removes cmake check for gtest. Signed-off-by: Rosen Penev --- diff --git a/utils/sumo/patches/010-gtest.patch b/utils/sumo/patches/010-gtest.patch new file mode 100644 index 000000000..66a941c88 --- /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)