From 9d7f8c93084465210ccc42ec0f64a0c961dc1b93 Mon Sep 17 00:00:00 2001 From: andrew morton Date: Fri, 3 Jul 2015 22:04:21 -0700 Subject: [PATCH] MAKE_BUILD_TYPE controls the build type Fixes this warning: ``` CMake Warning: Manually-specified variables were not used by the project: BUILD_TYPE ``` --- INSTALL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index d8a39d8de77..a8906f699b6 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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.