SNMetamorph / PrimeXT

Modern Half-Life 1 SDK for Xash3D FWGS engine, has enhanced graphics and physics and a lot of new features for mod-makers. Crossplatform, supports Windows/Linux. Based on XashXT and Spirit Of Half-Life.
https://snmetamorph.github.io/PrimeXT/
107 stars 31 forks source link

cmake: explicitly set CMAKE_CXX_STANDARD to 14 #212

Closed a1batross closed 1 month ago

a1batross commented 1 month ago

Not sure if it's supposed to be C++14 but setting this variable explicitly partially fixes the building issue on macOS (thanks @FiEctro for help). It's also a good idea in general to tell the compiler which standard version is being used.