Fix missing 'D' in build type cmake variable definition in command line

This commit is contained in:
Mael Rouxel-Labbé 2019-10-28 11:07:03 +01:00
parent 5a25827958
commit 23f516d6e3
2 changed files with 3 additions and 3 deletions

View File

@ -150,7 +150,7 @@ It is also strongly recommended to set the build type variable to `Release` for
if no debugging is intended. Users should thus run:
cd CGAL-\cgalReleaseNumber/examples/Triangulation_2
cmake -DCGAL_DIR=$HOME/CGAL-\cgalReleaseNumber -CMAKE_BUILD_TYPE=Release . # we are here using a release tarball
cmake -DCGAL_DIR=$HOME/CGAL-\cgalReleaseNumber -DCMAKE_BUILD_TYPE=Release . # we are here using a release tarball
\subsection usage_configuring_cmake_gui Specifying Missing Dependencies
@ -195,7 +195,7 @@ the process of configuring a user's program called `your_program.cpp` amounts to
cd /path/to/your/program
path/to/cgal/Scripts/scripts/cgal_create_CMakeLists -s your_program
cmake -DCGAL_DIR=$HOME/CGAL-\cgalReleaseNumber -CMAKE_BUILD_TYPE=Release .
cmake -DCGAL_DIR=$HOME/CGAL-\cgalReleaseNumber -DCMAKE_BUILD_TYPE=Release .
Note that the script `cgal_create_CMakeLists` creates a very coarse `CMakeLists.txt` file which
might not properly encode the third party dependencies of your program. Users are advised to look

View File

@ -298,7 +298,7 @@ the process of configuring a user's program called `your_program.cpp` amounts to
cd /path/to/your/program
cgal_create_CMakeLists -s your_program
cmake -DCGAL_DIR=XXXXXX -CMAKE_BUILD_TYPE=Release .
cmake -DCGAL_DIR=XXXXXX -DCMAKE_BUILD_TYPE=Release .
make
In order to configure a program, you need to indicate the location of the \cgal configuration file