summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 69cf6b4..eda91a3 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -2666,7 +2666,8 @@ int cmake::CheckBuildSystem()
for(std::vector<std::string>::const_iterator pi = products.begin();
pi != products.end(); ++pi)
{
- if(!cmSystemTools::FileExists(pi->c_str()))
+ if(!(cmSystemTools::FileExists(pi->c_str()) ||
+ cmSystemTools::FileIsSymlink(pi->c_str())))
{
if(verbose)
{