Browse Source

Now compiles on older versions of gtk.

merge-requests/365/head
eidheim 10 years ago
parent
commit
a8c77d09cf
  1. 2
      src/cmake.cc

2
src/cmake.cc

@ -46,7 +46,7 @@ CMake::CMake(const boost::filesystem::path &path) {
} }
bool CMake::create_compile_commands(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(); message.wait_until_drawn();
auto exit_code=Singleton::terminal->execute(Singleton::config->terminal.cmake_command+" . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON", path); auto exit_code=Singleton::terminal->execute(Singleton::config->terminal.cmake_command+" . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON", path);
message.hide(); message.hide();

Loading…
Cancel
Save