widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #14997
Re: [Merge] lp:~widelands-dev/widelands/cmakepolicy into lp:widelands
Compiling is fine here with the latest change: No Warning and no compile errors.
I do not really understand that stuff, but can't we just add a switch like that (instead of setting the linker flags):
if(${CMAKE_VERSION} VERSION_GREATER "3.11")
cmake_policy(SET CMP0072 OLD)
endif()
I tested this and it works for me (deleted the build directory and compiled again) ... Has to be commented well, though.
--
https://code.launchpad.net/~widelands-dev/widelands/cmakepolicy/+merge/356018
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/cmakepolicy.
References