diff options
author | Brad King <brad.king@kitware.com> | 2001-05-25 19:32:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-05-25 19:32:22 (GMT) |
commit | 410f4838b8349eaf2e638c8b770528610e344a76 (patch) | |
tree | e81cdb839a1f7d87f0ace970d001af36a2484672 /Source | |
parent | 1a2918040d99a073417b7b230ab7898933300ae9 (diff) | |
download | CMake-410f4838b8349eaf2e638c8b770528610e344a76.zip CMake-410f4838b8349eaf2e638c8b770528610e344a76.tar.gz CMake-410f4838b8349eaf2e638c8b770528610e344a76.tar.bz2 |
BUG: WIN32 executable target rules are now generated in unix the same as any other executable (instead of not at all).
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmUnixMakefileGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index 5038bde..4be093a 100644 --- a/Source/cmUnixMakefileGenerator.cxx +++ b/Source/cmUnixMakefileGenerator.cxx @@ -352,7 +352,8 @@ void cmUnixMakefileGenerator::OutputTargets(std::ostream& fout) this->OutputLinkLibraries(fout, l->first.c_str(), l->second); fout << "\n\n"; } - else if (l->second.GetType() == cmTarget::EXECUTABLE) + else if ((l->second.GetType() == cmTarget::EXECUTABLE) + || (l->second.GetType() == cmTarget::WIN32_EXECUTABLE)) { fout << l->first << ": ${" << l->first << "_SRC_OBJS} ${CMAKE_DEPEND_LIBS}\n"; |