glest / glest-source

Glest is a network multi-player cross-platform 3D real-time strategy (RTS) game, where you create armies of units and battle different factions.
https://glest.io
GNU General Public License v3.0
57 stars 39 forks source link

CMakeLists.txt:narrow scope of -std=gnu++11 #157

Closed andy5995 closed 6 years ago

andy5995 commented 6 years ago

Make sure this passes Travis CI test before merging.

This is to get rid of warnings such as the following:


source/shared_lib/CMakeFiles/libmegaglest.dir/sources/feathery_ftp/ftpServer.c.o
[ 31%] Building C object
source/shared_lib/CMakeFiles/libmegaglest.dir/sources/feathery_ftp/ftpSession.c.o
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++
but not for C
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++
but not for C
[ 31%] Building C object
source/shared_lib/CMakeFiles/libmegaglest.dir/sources/feathery_ftp/ftpTargetPosix.c.o
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++
but not for C```