Fixes #974. The `cxx_feature_check` now has an additional optional argument which can be used to supply extra cmake flags to pass to the `try_compile` command. The `CMAKE_CXX_STANDARD=14` flag was determined to be the minimum flag necessary to correctly compile and run the regex feature checks when compiling with Clang under Windows (n.b. this does *not* refer to clang-cl, the frontend to the MSVC compiler). The additional flag is not enabled for any other compiler/platform tuple.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Modules | Loading commit data... | |
| AddCXXCompilerFlag.cmake | Loading commit data... | |
| CXXFeatureCheck.cmake | Loading commit data... | |
| Config.cmake.in | Loading commit data... | |
| GetGitVersion.cmake | Loading commit data... | |
| GoogleTest.cmake | Loading commit data... | |
| GoogleTest.cmake.in | Loading commit data... | |
| benchmark.pc.in | Loading commit data... | |
| gnu_posix_regex.cpp | Loading commit data... | |
| llvm-toolchain.cmake | Loading commit data... | |
| posix_regex.cpp | Loading commit data... | |
| split_list.cmake | Loading commit data... | |
| std_regex.cpp | Loading commit data... | |
| steady_clock.cpp | Loading commit data... | |
| thread_safety_attributes.cpp | Loading commit data... |