diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-17 20:46:20 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-17 20:46:20 (GMT) |
commit | b20cb780495630fa8088f9c95309597af22734c1 (patch) | |
tree | 2747cff8befd423ac960dcec3caab1dc3ed121e4 /Source/cmake.cxx | |
parent | ca8d1bc99b68f39fb24e76ac1a546e7849248771 (diff) | |
download | CMake-b20cb780495630fa8088f9c95309597af22734c1.zip CMake-b20cb780495630fa8088f9c95309597af22734c1.tar.gz CMake-b20cb780495630fa8088f9c95309597af22734c1.tar.bz2 |
ENH: Handle missing unsetenv and add check for environ
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index ef43c61..a66e83b 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -831,6 +831,7 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args) return 0; } +#if defined(CMAKE_BUILD_WITH_CMAKE) // Command to create a symbolic link. Fails on platforms not // supporting them. else if (args[1] == "environment" ) @@ -843,6 +844,7 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args) } return 0; } +#endif // Remove file else if (args[1] == "remove" && args.size() > 2) |