summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-07-25 13:16:17 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-07-25 13:16:17 (GMT)
commit3c9206fdd8cc718b82f5a488557ae8f29bb23edc (patch)
treebeea7fe9e5640153721c8b3eb301d957ea3b3af3 /Source/cmMakefile.cxx
parent8a3b2ad92ed891db8794fd59596de0337d6008ca (diff)
downloadCMake-3c9206fdd8cc718b82f5a488557ae8f29bb23edc.zip
CMake-3c9206fdd8cc718b82f5a488557ae8f29bb23edc.tar.gz
CMake-3c9206fdd8cc718b82f5a488557ae8f29bb23edc.tar.bz2
makefile now does not ignore NOTFOUND libs and includes
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index c45c81f..75dd641 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -493,11 +493,6 @@ void cmMakefile::AddDefineFlag(const char* flag)
void cmMakefile::AddLinkLibrary(const char* lib, cmTarget::LinkLibraryType llt)
{
- // if it is NOTFOUND then skip it
- if (!strcmp(lib,"NOTFOUND"))
- {
- return;
- }
m_LinkLibraries.push_back(
std::pair<std::string, cmTarget::LinkLibraryType>(lib,llt));
}
@@ -506,12 +501,6 @@ void cmMakefile::AddLinkLibraryForTarget(const char *target,
const char* lib,
cmTarget::LinkLibraryType llt)
{
- // if it is NOTFOUND then skip it
- if (!strcmp(lib,"NOTFOUND"))
- {
- return;
- }
-
cmTargets::iterator i = m_Targets.find(target);
if ( i != m_Targets.end())
{
@@ -578,12 +567,6 @@ void cmMakefile::AddSubDirectory(const char* sub)
void cmMakefile::AddIncludeDirectory(const char* inc, bool before)
{
- // if it is NOTFOUND then skip it
- if (!strcmp(inc,"NOTFOUND"))
- {
- return;
- }
-
// Don't add an include directory that is already present. Yes,
// this linear search results in n^2 behavior, but n won't be
// getting much bigger than 20. We cannot use a set because of