Sophie

Sophie

distrib > Mageia > 8 > x86_64 > by-pkgid > 7da4f8935f9379d9c0c434b81d73c05b > files > 4

synergy-1.14.5.14-1.mga8.src.rpm

diff -Nrup a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt	2022-07-13 14:13:00.000000000 +0200
+++ b/CMakeLists.txt	2023-02-21 04:42:05.203758609 +0100
@@ -87,7 +87,6 @@ endif()
 
 
 set (libs)
-include_directories (BEFORE SYSTEM ${PROJECT_SOURCE_DIR}/ext/googletest/googletest/include)
 
 if (UNIX)
     if (NOT APPLE)
@@ -363,14 +362,6 @@ if(GIT_FOUND AND EXISTS "${PROJECT_SOURC
 endif()
 
 #
-# Google Test
-#
-if(BUILD_TESTS AND NOT EXISTS "${PROJECT_SOURCE_DIR}/ext/googletest/CMakeLists.txt")
-    message(FATAL_ERROR "The submodules were not downloaded! GIT_SUBMODULE was turned off or failed. Please update submodules and try again.")
-endif()
-
-
-#
 # Configure_file... but for directories, recursively.
 #
 macro (configure_files srcDir destDir)
diff -Nrup a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt
--- a/src/test/CMakeLists.txt	2022-07-13 14:13:00.000000000 +0200
+++ b/src/test/CMakeLists.txt	2023-02-21 04:42:50.664089004 +0100
@@ -14,20 +14,5 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-include_directories(
-    ../../ext/googletest/googletest
-    ../../ext/googletest/googletest/include
-    ../../ext/googletest/googlemock
-    ../../ext/googletest/googlemock/include)
-    
-add_library(gtest STATIC ../../ext/googletest/googletest/src/gtest-all.cc)
-add_library(gmock STATIC ../../ext/googletest/googlemock/src/gmock-all.cc)
-
-if (UNIX)
-    # ignore warnings in gtest and gmock
-    set_target_properties(gtest PROPERTIES COMPILE_FLAGS "-w")
-    set_target_properties(gmock PROPERTIES COMPILE_FLAGS "-w")
-endif()
-
 add_subdirectory(integtests)
 add_subdirectory(unittests)
diff -Nrup a/src/test/integtests/CMakeLists.txt b/src/test/integtests/CMakeLists.txt
--- a/src/test/integtests/CMakeLists.txt	2022-07-13 14:13:00.000000000 +0200
+++ b/src/test/integtests/CMakeLists.txt	2023-02-21 04:43:24.005331254 +0100
@@ -56,8 +56,6 @@ endif()
 include_directories(
     ../../
     ../../lib/
-    ../../../ext/googletest/googletest/include
-    ../../../ext/googletest/googlemock/include
 )
 
 if (UNIX)