Actually use the provided CMAKE_CXX_FLAGS if given
Actually use the provided CMAKE_CXX_FLAGS if given

In most cases it isn't even defined. I needed this in order to have Netbeans recognise the result as an executable, since it only recognises position-dependent executables (so I had to add -no-pie).

Ultimaker/CuraEngine,Ultimaker/CuraEngine