diff options
author | Brad King <brad.king@kitware.com> | 2001-06-27 19:09:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-06-27 19:09:22 (GMT) |
commit | 459dfc753174bfb91c794addb62707b3216914cd (patch) | |
tree | c286a5ba7f99c88cf918a52d1ef630bdfc1c2fb9 /Source/cmDSPWriter.cxx | |
parent | dce7d07038ebc24e757623844f3c571a5925b110 (diff) | |
download | CMake-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/cmDSPWriter.cxx')
-rw-r--r-- | Source/cmDSPWriter.cxx | 2 |
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; } |