MAKE_BUILD_TYPE controls the build type

Fixes this warning:
```
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_TYPE
```
This commit is contained in:
andrew morton 2015-07-03 22:04:21 -07:00
parent 656c3c0613
commit 9d7f8c9308
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ git clone https://github.com/CGAL/cgal.git /path/to/cgal.git
cd /path/to/cgal.git
mkdir -p build/debug
cd build/debug
cmake -DBUILD_TYPE=Debug ../..
cmake -DCMAKE_BUILD_TYPE=Debug ../..
make
```
@ -31,7 +31,7 @@ Here is an example of how to build the library in Release:
> cd /path/to/cgal.git
> mkdir -p build/debug
> cd build/debug
> cmake -DBUILD_TYPE=Release ../..
> cmake -DCMAKE_BUILD_TYPE=Release ../..
> make
```
Note that *no installation is required* to use that version of CGAL once it has been compiled.