diff --git a/src/cmake.cc b/src/cmake.cc index 63c67ac..20ed316 100644 --- a/src/cmake.cc +++ b/src/cmake.cc @@ -46,7 +46,7 @@ CMake::CMake(const boost::filesystem::path &path) { } bool CMake::create_compile_commands(const boost::filesystem::path &path) { - auto message=Dialog::Message("Creating "+path.string()+"/compile_commands.json"); + Dialog::Message message("Creating "+path.string()+"/compile_commands.json"); message.wait_until_drawn(); auto exit_code=Singleton::terminal->execute(Singleton::config->terminal.cmake_command+" . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON", path); message.hide();