summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-06-27 19:09:22 (GMT)
committerBrad King <brad.king@kitware.com>2001-06-27 19:09:22 (GMT)
commit459dfc753174bfb91c794addb62707b3216914cd (patch)
treec286a5ba7f99c88cf918a52d1ef630bdfc1c2fb9 /Source
parentdce7d07038ebc24e757623844f3c571a5925b110 (diff)
downloadCMake-459dfc753174bfb91c794addb62707b3216914cd.zip
CMake-459dfc753174bfb91c794addb62707b3216914cd.tar.gz
CMake-459dfc753174bfb91c794addb62707b3216914cd.tar.bz2
BUG: Check for building shared libraries should read from makefile's setting, not directly from the cache.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmDSPWriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx
index b936a11..76dc207 100644
--- a/Source/cmDSPWriter.cxx
+++ b/Source/cmDSPWriter.cxx
@@ -89,7 +89,7 @@ void cmDSPWriter::OutputDSPFile()
// Create the DSP or set of DSP's for libraries and executables
m_LibraryBuildType = STATIC_LIBRARY;
- if(cmCacheManager::GetInstance()->IsOn("BUILD_SHARED_LIBS"))
+ if(!cmSystemTools::IsOff(m_Makefile->GetDefinition("BUILD_SHARED_LIBS")))
{
m_LibraryBuildType = DLL;
}