Open poterba opened 2 years ago
Just remove the line. The CMake default Release flags " -O3 -DNDEBUG" will apply and work fine, just make sure you have -D CMAKE_BUILD_TYPE=Release
when you run cmake...
I know, but maybe it's better to include such condition into main code?
Tried to compile nana at AppleClang in Release configuration, got this:
the clang compiler does not support '-march=native'
I'm pretty sure the guilty line is in compilers.cmake
but now I don't know what to do about it.