fix a typo.

This commit is contained in:
murmur-wheel 2020-02-16 13:02:13 +08:00 committed by GitHub
parent e36752873b
commit 9df2ea192f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
----
This example will attempt to compile a program with the flag `=std=c++11` and store the result in the variable `COMPILER_SUPPORTS_CXX11`.
This example will attempt to compile a program with the flag `-std=c++11` and store the result in the variable `COMPILER_SUPPORTS_CXX11`.
The line `include(CheckCXXCompilerFlag)` tells CMake to include this function to make it available for use.