Skip to content

Commit

Permalink
Update windows.inc
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns authored Jan 8, 2024
1 parent d40f3ac commit e5ee45b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tbb_2020.3/build/windows.inc
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ 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 //C "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
export arch:=$(call detect_js, //arch $(compiler))
export arch:=$(call detect_js, /arch $(compiler))
endif

ifndef runtime
export runtime:=$(call detect_js, //runtime $(compiler))
export runtime:=$(call detect_js, /runtime $(compiler))
endif

native_compiler := cl
Expand Down

0 comments on commit e5ee45b

Please sign in to comment.