Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: force C++11 in CHECK_CXX_SOURCE_COMPILES for atomic
GCC 4.8 requires the use of `-std=gnu++11` or similar to enable atomic features. However, older versions of CMake don't pick up the project-wide target for C++11 when building the configure check targets. Although CMake policy 0067 could be set to NEW to enable this, it only exists on CMake 3.8 and newer, while many of our supported platforms are on an older version.
- Loading branch information