Rework src/CMakeLists.txt: set dev. flags after building bundled libs
Place lua and dtviev after setting CFLAGS
Forget to add :)
Merge pull request #503 from LebedevRI/cmake-external-deps-disable-warnings

Rework src/CMakeLists.txt: set dev. flags after building bundled libs

Let's hope that nothing broke. :)