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.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to