diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-01 20:13:41 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-01 20:13:41 (GMT) |
commit | b479c6a8a98664c19eeaef40b71850c1f5315601 (patch) | |
tree | d6bdae61666c26a6872fcc8baecc5d7cdb90ba8c /Source/cmMakefile.cxx | |
parent | 24d6ecd81cf457367c622cd166da5d49f54bf42b (diff) | |
download | CMake-b479c6a8a98664c19eeaef40b71850c1f5315601.zip CMake-b479c6a8a98664c19eeaef40b71850c1f5315601.tar.gz CMake-b479c6a8a98664c19eeaef40b71850c1f5315601.tar.bz2 |
ENH: add ability to have manifest files and incremental linking with make and nmake
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index c5df4fb..306c00b 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1020,8 +1020,12 @@ void cmMakefile::AddLinkDirectory(const char* dir) // much bigger than 20. We cannot use a set because of order // dependency of the link search path. + if(!dir) + { + return; + } // remove trailing slashes - if(dir && dir[strlen(dir)-1] == '/') + if(dir[strlen(dir)-1] == '/') { std::string newdir = dir; newdir = newdir.substr(0, newdir.size()-1); |