This bug was fixed in the package unity - 7.5.0+17.04.20161130-0ubuntu1 --------------- unity (7.5.0+17.04.20161130-0ubuntu1) zesty; urgency=medium
[ Kai-Heng Feng ] * UnitySettings: If scale-factor is not set, find and set right scale for HiDPI displays. [ Marco Trevisan (Treviño) ] * CMakeLists.txt: add support to compile with GTest 1.8 (LP: #1644062) * UnityScreen: toggle gestures recognition on lock (LP: #1645507) -- Marco Trevisan (Treviño) <m...@3v1n0.net> Wed, 30 Nov 2016 11:06:58 +0000 ** Changed in: unity (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to content-hub in Ubuntu. https://bugs.launchpad.net/bugs/1644062 Title: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...] Status in Mir: Fix Committed Status in Mir 0.25 series: Fix Committed Status in cmake-extras package in Ubuntu: Fix Released Status in content-hub package in Ubuntu: Fix Released Status in googletest package in Ubuntu: Won't Fix Status in mir package in Ubuntu: Triaged Status in unity package in Ubuntu: Fix Released Bug description: After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working builds break: CMake Error at /usr/src/googletest/googletest/cmake/internal_utils.cmake:149 (add_library): add_library cannot create target "gmock" because another target with the same name already exists. The existing target is a static library created in source directory "/usr/src/googletest/googlemock". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): /usr/src/googletest/googletest/cmake/internal_utils.cmake:172 (cxx_library_with_type) /usr/src/gmock/CMakeLists.txt:84 (cxx_library) CMake Error at /usr/src/googletest/googletest/cmake/internal_utils.cmake:149 (add_library): add_library cannot create target "gmock_main" because another target with the same name already exists. The existing target is a static library created in source directory "/usr/src/googletest/googlemock". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): /usr/src/googletest/googletest/cmake/internal_utils.cmake:172 (cxx_library_with_type) /usr/src/gmock/CMakeLists.txt:89 (cxx_library) CMake Error at /usr/src/gmock/CMakeLists.txt:106 (install): install TARGETS given target "gmock" which does not exist in this directory. The CMakeLists.txt in our project that triggers this error does this: set(old_cxx_flags ${CMAKE_CXX_FLAGS}) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast -Wno-missing-field-initializers") find_package(GMock) set(CMAKE_CXX_FLAGS ${old_cxx_flags}) This used to work fine, but no breaks on zesty. To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1644062/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp