afritz1 / OpenTESArena

Open-source re-implementation of The Elder Scrolls: Arena.
MIT License
988 stars 68 forks source link

CMake: Use the CMake way to select C++11 standard #35

Closed pcercuei closed 8 years ago

pcercuei commented 8 years ago

Signed-off-by: Paul Cercueil paul@crapouillou.net

afritz1 commented 8 years ago

Thanks for the change, @pcercuei. I'm still a little unsure about how to correctly use CMake yet. I don't quite have it working the way I'd like with Visual Studio. It's talked about in this issue.

kcat commented 8 years ago

Unfortunately this breaks builds on older cmake versions. Debian is currently on cmake 3.0.2, and now building fails because it's not compiling with -std=c++11 or equivalent anymore.

Ragora commented 8 years ago

And I've got 2.8.12 at the latest on Mint.

pcercuei commented 8 years ago

Seriously? CMake is at 3.5.2 now, you guys should update your systems :D Maybe revert it for now then.

Ragora commented 8 years ago

@pcercuei My system is running the latest stable and I update my packages pretty much every day.

ragora@Kiaro:~ > lsb_release -a No LSB modules are available. Distributor ID: LinuxMint Description: Linux Mint 17.3 Rosa Release: 17.3 Codename: rosa

https://www.linuxmint.com/download.php

There is a beta 18, but I try to just use stables. The issue is that the distros tend to be a little behind on getting updated packages into their repos for stuff (and I think Linux Mint be sourcing Ubuntu's repos for some things).