doc(make): change g++-4.9 to g++
now if use g++4.9 as compiler flag on OSX, it will produce error message
that
```
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_CXX_COMPILER:
g++-4.9
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting
either the environment variable "CXX" or the CMake cache entry
CMAKE_CXX_COMPILER to the full path to the compiler, or to the
compiler name if it is in the PATH.
```
This commit is contained in:
parent
996b4375a9
commit
9c23a3ded3
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ need to use `-DCMAKE_CXX_COMPILER` option to specify the compiler
|
|||
that you want to use when you run `cmake`. For example, do the
|
||||
following to use `g++`.
|
||||
|
||||
cmake -DCMAKE_CXX_COMPILER=g++-4.9 ...
|
||||
cmake -DCMAKE_CXX_COMPILER=g++ ...
|
||||
|
||||
|
||||
Required Packages: CMake, GMP, MPFR, LUA
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue