mirror of
https://github.com/ttroy50/cmake-examples.git
synced 2025-12-18 12:14:36 +03:00
fix a typo.
This commit is contained in:
@@ -34,7 +34,7 @@ include(CheckCXXCompilerFlag)
|
|||||||
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
|
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.
|
The line `include(CheckCXXCompilerFlag)` tells CMake to include this function to make it available for use.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user