Merge lp:~stonerl/widelands/cmake_18_10_test into lp:widelands

Proposed by Toni Förster
Status: Merged
Merged at revision: 8894
Proposed branch: lp:~stonerl/widelands/cmake_18_10_test
Merge into: lp:widelands
Diff against target: 18 lines (+2/-3)
1 file modified
CMakeLists.txt (+2/-3)
To merge this branch: bzr merge lp:~stonerl/widelands/cmake_18_10_test
Reviewer Review Type Date Requested Status
GunChleoc Approve
Review via email: mp+357328@code.launchpad.net

Commit message

changed comment in CMakeLists regarding GCC

Description of the change

like this?

To post a comment you must log in.
Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 4155. State: passed. Details: https://travis-ci.org/widelands/widelands/builds/443812705.
Appveyor build 3952. State: success. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_stonerl_widelands_cmake_18_10_test-3952.

Revision history for this message
GunChleoc (gunchleoc) wrote :

+1

@bunnybot merge

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2018-10-17 15:04:13 +0000
3+++ CMakeLists.txt 2018-10-19 16:44:02 +0000
4@@ -20,12 +20,11 @@
5 if(POLICY CMP0072)
6 cmake_policy(SET CMP0072 NEW)
7
8- # On Ubuntu 18.10 we need to set this policy to OLD when GCC is used.
9- # Also the DISTRO_NAME is different on the build-servers.
10- #TODO(stonerl): Check on later Ubuntu releases whether this workaround is
11+ # TODO(stonerl): Check on later Ubuntu releases whether this workaround is
12 # still needed or not.
13 if (CMAKE_SYSTEM MATCHES "Linux")
14 distro_name (DISTRO_NAME)
15+ # DISTRO_NAME is different on the build-servers.
16 if ((DISTRO_NAME MATCHES "Ubuntu 18.10" OR DISTRO_NAME MATCHES "Cosmic")
17 AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
18 cmake_policy(SET CMP0072 OLD)

Subscribers

People subscribed via source and target branches

to status/vote changes: