Mir

Merge lp:~mir-team/mir/fix-1387501 into lp:mir

Proposed by Alberto Aguirre
Status: Merged
Approved by: Alberto Aguirre
Approved revision: no longer in the source branch.
Merged at revision: 2018
Proposed branch: lp:~mir-team/mir/fix-1387501
Merge into: lp:mir
Diff against target: 24 lines (+5/-1)
2 files modified
benchmarks/CMakeLists.txt (+1/-1)
cmake/ABICheck.cmake (+4/-0)
To merge this branch: bzr merge lp:~mir-team/mir/fix-1387501
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Cemil Azizoglu (community) Approve
Alberto Aguirre Pending
Review via email: mp+240287@code.launchpad.net

This proposal supersedes a proposal from 2014-10-30.

Commit message

Fix CMake 3.0 warnings new in vivid (LP: #1387501)

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Alberto Aguirre (albaguirre) wrote : Posted in a previous version of this proposal

18 + cmake_policy(SET CMP0026 OLD)

if (NOT ${CMAKE_MAJOR_VERSION} LESS 3)
    cmake_policy(SET CMP0026 OLD)
endif()

review: Needs Fixing
Revision history for this message
Cemil Azizoglu (cemil-azizoglu) wrote :

Makes sense.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'benchmarks/CMakeLists.txt'
2--- benchmarks/CMakeLists.txt 2014-10-22 14:08:51 +0000
3+++ benchmarks/CMakeLists.txt 2014-10-31 15:34:31 +0000
4@@ -11,4 +11,4 @@
5 add_subdirectory(memory)
6 add_subdirectory(frame-uniformity)
7
8-add_dependencies(benchmarks cpu_benchmarks memory_benchmarks frame_uniformity)
9+add_dependencies(benchmarks cpu_benchmarks memory_benchmarks frame_uniformity_test_client)
10
11=== modified file 'cmake/ABICheck.cmake'
12--- cmake/ABICheck.cmake 2014-10-06 03:02:44 +0000
13+++ cmake/ABICheck.cmake 2014-10-31 15:34:31 +0000
14@@ -39,6 +39,10 @@
15 ${private_headers}"
16 )
17
18+ if (NOT ${CMAKE_MAJOR_VERSION} LESS 3)
19+ cmake_policy(SET CMP0026 OLD)
20+ endif()
21+ # TODO: Deprecate use of "LOCATION" (CMP0026) ...
22 if ("${ABI_DUMP_PREBUILT_LIBDIR}" STREQUAL "")
23 get_property(LIB_DESC_LIBS TARGET ${libname} PROPERTY LOCATION)
24 else()

Subscribers

People subscribed via source and target branches