mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
Merge topic 'cmcldeps-quote-rc'
03080d18eb cmcldeps: Restore support for rc.exe path not fully GetShortPathName-d
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8912
This commit is contained in:
+2
-1
@@ -285,7 +285,8 @@ int main()
|
||||
return exit_code;
|
||||
|
||||
// compile rc file with rc.exe
|
||||
return process(srcfilename, "", objfile, prefix, binpath + " " + rest,
|
||||
std::string rc = cmStrCat('"', binpath, '"');
|
||||
return process(srcfilename, "", objfile, prefix, cmStrCat(rc, ' ', rest),
|
||||
std::string(), true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user