src/CMakeLists.txt Only build editor if BUILD_EDITOR is defined