Delete "Custom" sql
CMake - allow gcc 4.6