diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-02-28 18:59:19 -0500 |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-02-28 18:59:19 -0500 |
commit | b1a74218401a6d990b570cae8141cad97fb8dc19 (patch) | |
tree | 3775e35ac3f08525ad6808e53f0faf027fe9f357 /Source/cmCPluginAPI.cxx | |
parent | 6ab87555ea483601cb1829f3b6e9d3d77d6746ff (diff) | |
download | cmake-b1a74218401a6d990b570cae8141cad97fb8dc19.tar.gz |
ENH: Styart working on bundles support and abstract WIN32_EXECUTABLE
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r-- | Source/cmCPluginAPI.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 7061f5dd21..3ca886ad4d 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -187,7 +187,11 @@ void cmAddExecutable(void *arg, const char *exename, { srcs2.push_back(srcs[i]); } - mf->AddExecutable(exename, srcs2, (win32 ? true : false)); + cmTarget* tg = mf->AddExecutable(exename, srcs2); + if ( win32 ) + { + tg->SetProperty("WIN32_EXECUTABLE", "ON"); + } } void cmAddUtilityCommand(void *arg, const char* utilityName, |