diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-09-05 21:18:05 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-09-05 21:18:05 (GMT) |
commit | 0039ffa2163665856be1e772146442f2c7418c6c (patch) | |
tree | b9357fdea5bbe602bb34412d45bc280c5f6bbd9a /Tests/CMakeLib/run_compile_commands.cxx | |
parent | bfdf1322e7638687c96b323b1df20fd9c08b3044 (diff) | |
download | CMake-0039ffa2163665856be1e772146442f2c7418c6c.zip CMake-0039ffa2163665856be1e772146442f2c7418c6c.tar.gz CMake-0039ffa2163665856be1e772146442f2c7418c6c.tar.bz2 |
use CM_NULLPTR
Diffstat (limited to 'Tests/CMakeLib/run_compile_commands.cxx')
-rw-r--r-- | Tests/CMakeLib/run_compile_commands.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CMakeLib/run_compile_commands.cxx b/Tests/CMakeLib/run_compile_commands.cxx index 529c830..0bf0a7c 100644 --- a/Tests/CMakeLib/run_compile_commands.cxx +++ b/Tests/CMakeLib/run_compile_commands.cxx @@ -148,7 +148,8 @@ int main() it != end; ++it) { std::vector<std::string> command; cmSystemTools::ParseUnixCommandLine(it->at("command").c_str(), command); - if (!cmSystemTools::RunSingleCommand(command, 0, 0, 0, + if (!cmSystemTools::RunSingleCommand(command, CM_NULLPTR, CM_NULLPTR, + CM_NULLPTR, it->at("directory").c_str())) { std::cout << "ERROR: Failed to run command \"" << command[0] << "\"" << std::endl; |