diff --git a/lib/tbb_2020.3/build/windows.inc b/lib/tbb_2020.3/build/windows.inc index ed74edb07b6..8c8ca23c1b5 100644 --- a/lib/tbb_2020.3/build/windows.inc +++ b/lib/tbb_2020.3/build/windows.inc @@ -22,7 +22,7 @@ endif # A convenience wrapper for calls to detect.js. # $(1) is the full command line for the script, e.g. /minversion icl 12 -detect_js = $(shell $(CMD) "cscript //NoLogo //E:jscript $(tbb_root)/build/detect.js $(1)") +detect_js = $(shell cmd //C "cscript //NoLogo //E:jscript $(tbb_root)/build/detect.js $(1)") # TODO give an error if archs doesn't match ifndef arch @@ -110,7 +110,7 @@ ifneq ($(filter vc8 vc9,$(runtime)),) RML.MANIFEST = tbbmanifest.exe.manifest endif -MAKE_VERSIONS = cmd /C cscript /nologo /E:jscript $(subst \,/,$(tbb_root))/build/version_info_windows.js $(compiler) $(arch) $(subst \,/,"$(VERSION_FLAGS)") > version_string.ver +MAKE_VERSIONS = $(shell cmd //C "cscript /nologo /E:jscript $(subst \,/,$(tbb_root))/build/version_info_windows.js $(compiler) $(arch) $(subst \,/,\"$(VERSION_FLAGS)\")" > version_string.ver) MAKE_TBBVARS = cmd /C "$(subst /,\,$(tbb_root))\build\generate_tbbvars.bat" TEST_LAUNCHER = $(subst /,\,$(tbb_root))\build\test_launcher.bat $(largs)