Build with LTO only in Release builds
LTO/IPO should only be enable on release builds as it tricks the debugger and slows down the compile time.
- INTERPROCEDURAL_OPTIMIZATION ON
+ INTERPROCEDURAL_OPTIMIZATION_RELEASE ON
Edited by Samuel Debionne