diff options
author | Brad King <brad.king@kitware.com> | 2001-07-02 19:38:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-07-02 19:38:02 (GMT) |
commit | e693d47253157c9372aeb7c2edbecef8d1fb6225 (patch) | |
tree | 296e6789a8596e112f2139b13e71b53219309bd0 /Source/cmDSWWriter.cxx | |
parent | ae2723878e08a8aa016869e90711e260d981df38 (diff) | |
download | CMake-e693d47253157c9372aeb7c2edbecef8d1fb6225.zip CMake-e693d47253157c9372aeb7c2edbecef8d1fb6225.tar.gz CMake-e693d47253157c9372aeb7c2edbecef8d1fb6225.tar.bz2 |
ENH: Added support for selection of static/shared build on a per-library basis.
Diffstat (limited to 'Source/cmDSWWriter.cxx')
-rw-r--r-- | Source/cmDSWWriter.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmDSWWriter.cxx b/Source/cmDSWWriter.cxx index a44dfda..3662f28 100644 --- a/Source/cmDSWWriter.cxx +++ b/Source/cmDSWWriter.cxx @@ -215,8 +215,7 @@ void cmDSWWriter::WriteProject(std::ostream& fout, { if(j->first != dspname) { - if (!(target.GetType() == cmTarget::LIBRARY) || - project->GetLibraryBuildType() == cmDSPWriter::DLL) + if (target.GetType() != cmTarget::STATIC_LIBRARY) { // is the library part of this DSW ? If so add dependency const char* cacheValue |