From 9c23a3ded345c94293431ef168767893579f1de3 Mon Sep 17 00:00:00 2001 From: zjhmale Date: Tue, 6 Sep 2016 15:52:02 +0800 Subject: [PATCH] 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. ``` --- doc/make/osx-10.9.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/make/osx-10.9.md b/doc/make/osx-10.9.md index f58f7c8151..a7cefa804d 100644 --- a/doc/make/osx-10.9.md +++ b/doc/make/osx-10.9.md @@ -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