diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-06-18 11:12:01 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-06-19 13:02:21 +0300 |
commit | 31ae83381106a7aaee5303710b818c13f42ceddc (patch) | |
tree | 6935ebe7e84db7e54c689ea3308fb6df67e03d73 /CMakeLists.txt | |
parent | 171c4fb238a2a65291540ac5406187bc69f3a6bc (diff) |
Ceres: Update to the latest upstream version
Using latest master because of various compilation error fixes.
Brings a lot of recent development. From most interesting parts:
- New threading model.
- Tiny solver.
- Compatibility with C++17.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c465d37e8e..7374a54354f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1245,7 +1245,7 @@ endif() if(WITH_LIBMV) # We always have C++11 which includes unordered_map. - set(CERES_DEFINES -DCERES_STD_UNORDERED_MAP) + set(CERES_DEFINES "-DCERES_STD_UNORDERED_MAP;-DCERES_USE_CXX_THREADS") endif() #----------------------------------------------------------------------------- |