Build Ceres with C++11. (#999)

master
Alexander Belyaev 2018-03-16 13:03:57 +01:00 committed by GitHub
parent 06a9d3544d
commit 6102f374b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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