Merge lp:~azzar1/unity/cmake-3 into lp:unity

Proposed by Andrea Azzarone
Status: Merged
Approved by: Stephen M. Webb
Approved revision: no longer in the source branch.
Merged at revision: 3984
Proposed branch: lp:~azzar1/unity/cmake-3
Merge into: lp:unity
Diff against target: 32 lines (+3/-3)
2 files modified
lockscreen/CMakeLists.txt (+3/-2)
plugins/unityshell/CMakeLists.txt (+0/-1)
To merge this branch: bzr merge lp:~azzar1/unity/cmake-3
Reviewer Review Type Date Requested Status
Stephen M. Webb (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+266573@code.launchpad.net

Commit message

Fixes that enable building unity from sources with cmake3 (wily).

Description of the change

Fixes that enable building unity from sources with cmake3 (wily).

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Stephen M. Webb (bregma) wrote :

Mmm, OK, haven't run into a problem with CMake 3.0 that this would solve and I see no bugs that it closes, but it's marked as a prerequistie for GCC-5 so I'll accept it.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'lockscreen/CMakeLists.txt'
--- lockscreen/CMakeLists.txt 2014-10-21 13:45:43 +0000
+++ lockscreen/CMakeLists.txt 2015-07-31 14:45:24 +0000
@@ -9,7 +9,7 @@
9string (REPLACE ";" " " CFLAGS "${CFLAGS}")9string (REPLACE ";" " " CFLAGS "${CFLAGS}")
10set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CFLAGS}")10set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CFLAGS}")
1111
12set (LIBS ${CACHED_UNITY_DEPS_LDFLAGS} ${UNITY_STANDALONE_LADD})12set (LIBS ${CACHED_UNITY_DEPS_LDFLAGS} pam)
1313
14include_directories (.. ../services ../UnityCore ${UNITY_SRC} ${CMAKE_BINARY_DIR})14include_directories (.. ../services ../UnityCore ${UNITY_SRC} ${CMAKE_BINARY_DIR})
1515
@@ -34,5 +34,6 @@
34 )34 )
3535
36add_library (lockscreen-lib STATIC ${LOCKSCREEN_SOURCES})36add_library (lockscreen-lib STATIC ${LOCKSCREEN_SOURCES})
37add_dependencies (lockscreen-lib unity-core-${UNITY_API_VERSION} unity-shared pam)37target_link_libraries (lockscreen-lib ${LIBS})
38add_dependencies (lockscreen-lib unity-core-${UNITY_API_VERSION} unity-shared)
38add_pch(pch/lockscreen_pch.hh lockscreen-lib)39add_pch(pch/lockscreen_pch.hh lockscreen-lib)
3940
=== modified file 'plugins/unityshell/CMakeLists.txt'
--- plugins/unityshell/CMakeLists.txt 2014-01-30 16:00:34 +0000
+++ plugins/unityshell/CMakeLists.txt 2015-07-31 14:45:24 +0000
@@ -26,7 +26,6 @@
26 decorations-lib26 decorations-lib
27 hud-lib27 hud-lib
28 launcher-lib28 launcher-lib
29 pam
30 lockscreen-lib29 lockscreen-lib
31 panel-lib30 panel-lib
32 shortcuts-lib31 shortcuts-lib