diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 69cf6b4c0..eda91a384 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -2666,7 +2666,8 @@ int cmake::CheckBuildSystem() for(std::vector::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) {