Index: synergy-core-1.9.1-stable/ext/gmock/CMakeLists.txt =================================================================== --- synergy-core-1.9.1-stable.orig/ext/gmock/CMakeLists.txt +++ synergy-core-1.9.1-stable/ext/gmock/CMakeLists.txt @@ -1,3 +1,6 @@ +# Disable building gmock as it has an incompatible license and can't be used. +# https://build.opensuse.org/request/show/616454 +if (0) ######################################################################## # CMake build script for Google Mock. # @@ -149,3 +152,4 @@ if (gmock_build_tests) cxx_executable(gmock_output_test_ test gmock) py_test(gmock_output_test) endif() +endif (0) Index: synergy-core-1.9.1-stable/src/test/CMakeLists.txt =================================================================== --- synergy-core-1.9.1-stable.orig/src/test/CMakeLists.txt +++ synergy-core-1.9.1-stable/src/test/CMakeLists.txt @@ -14,6 +14,10 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +# Disable building tests as they use gmock with an incompatible apache2.0 licenses +# https://build.opensuse.org/request/show/616454 +if (0) + include_directories( ../../ext/gtest ../../ext/gtest/include @@ -31,3 +35,5 @@ endif() add_subdirectory(integtests) add_subdirectory(unittests) + +endif (0)