opps
This commit is contained in:
parent
754e1cb9a5
commit
7aec024997
@ -132,10 +132,7 @@ void cmake::AddCMakePaths(const std::vector<std::string>& args)
|
|||||||
// Find our own executable.
|
// Find our own executable.
|
||||||
std::string cMakeSelf = args[0];
|
std::string cMakeSelf = args[0];
|
||||||
cmSystemTools::ConvertToUnixSlashes(cMakeSelf);
|
cmSystemTools::ConvertToUnixSlashes(cMakeSelf);
|
||||||
if(!cmSystemTools::FileExists(cMakeSelf.c_str()))
|
cMakeSelf = cmSystemTools::FindProgram(cMakeSelf.c_str());
|
||||||
{
|
|
||||||
cMakeSelf = cmSystemTools::FindProgram(cMakeSelf.c_str());
|
|
||||||
}
|
|
||||||
if(!cmSystemTools::FileExists(cMakeSelf.c_str()))
|
if(!cmSystemTools::FileExists(cMakeSelf.c_str()))
|
||||||
{
|
{
|
||||||
#ifdef CMAKE_BUILD_DIR
|
#ifdef CMAKE_BUILD_DIR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user