dthuerck / mapmap_cpu

A high-performance general-purpose MRF MAP solver, heavily exploiting SIMD instructions.
BSD 3-Clause "New" or "Revised" License
103 stars 51 forks source link

Fix a minor compilation issue #34

Closed oleg-alexandrov closed 2 years ago

oleg-alexandrov commented 2 years ago

When compiling mapmap_cpu as part of the bigger system, the compilation was failing, because instead of appending to CMAKE_CXX_FLAGS, this variable was being overwritten, so all the options for finding header files were being lost. This offers a fix. It should not change anything if this variable starts empty.