SYSTEM will include the dir using -Isystem <path> instead of -I<path> which will silent warnings. It is really, really useful when doing development, so it should be kept for all cmake versions that support it. Suggested way forward:
1) lower required cmake version to 2.8.11 2) write a macro that wraps target_include_directories and uses SYSTEM on newer cmakes. Feel free to track that in a new bug. -- https://code.launchpad.net/~widelands-dev/widelands/cmake-reworked/+merge/222455 Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/cmake-reworked. _______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp

