Merge topic 'ctest-add_subdirectory-crash'
64821e8a ctest: fix add_subdirectory() crash
This commit is contained in:
commit
eda29e6632
@ -176,7 +176,7 @@ bool cmCTestAddSubdirectoryCommand
|
||||
cmSystemTools::ChangeDirectory(cwd);
|
||||
std::string fname = cwd;
|
||||
fname += "/";
|
||||
fname += args[1];
|
||||
fname += args[0];
|
||||
|
||||
if ( !cmSystemTools::FileExists(fname.c_str()) )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user