summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-01 11:28:34 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-01 11:28:34 (GMT)
commita2eccb42034ff6679af6397cacc836a1ee5bbd89 (patch)
treeb449a334ea9b858e065b0fe9c29dfa05b20ba64a /Source/cmakemain.cxx
parentaf207d31660451069949d3443e6356934ec3ee79 (diff)
downloadCMake-a2eccb42034ff6679af6397cacc836a1ee5bbd89.zip
CMake-a2eccb42034ff6679af6397cacc836a1ee5bbd89.tar.gz
CMake-a2eccb42034ff6679af6397cacc836a1ee5bbd89.tar.bz2
Remove dependency to dynamic loader during bootstrap
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 7086e8f..81d58d4 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -25,7 +25,9 @@ int do_cmake(int ac, char** av);
int main(int ac, char** av)
{
int ret = do_cmake(ac, av);
+#ifdef CMAKE_BUILD_WITH_CMAKE
cmDynamicLoader::FlushCache();
+#endif
cmListFileCache::GetInstance()->ClearCache();
return ret;
}