Build Ceres with C++11. (#999)
parent
06a9d3544d
commit
6102f374b1
|
@ -25,7 +25,7 @@ cd ceres-solver
|
||||||
git checkout tags/${VERSION}
|
git checkout tags/${VERSION}
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake .. -G Ninja
|
cmake .. -G Ninja -DCXX11=ON
|
||||||
ninja
|
ninja
|
||||||
CTEST_OUTPUT_ON_FAILURE=1 ninja test
|
CTEST_OUTPUT_ON_FAILURE=1 ninja test
|
||||||
sudo ninja install
|
sudo ninja install
|
||||||
|
|
Loading…
Reference in New Issue