lib/bake/util.rb in bake-toolkit-2.49.0 vs lib/bake/util.rb in bake-toolkit-2.50.0

- old
+ new

@@ -77,9 +77,12 @@ def integrateCompiler(tcs, compiler, type) return tcs unless compiler if compiler.respond_to?("command") && compiler.command != "" tcs[:COMPILER][type][:COMMAND] = compiler.command end + if compiler.respond_to?("cuda") && compiler.command != "" + tcs[:COMPILER][type][:CUDA] = compiler.cuda + end if compiler.respond_to?("prefix") && compiler.prefix != "" tcs[:COMPILER][type][:PREFIX] = compiler.prefix end if compiler.respond_to?("fileEndings") && compiler.fileEndings && compiler.fileEndings.endings != "" tcs[:COMPILER][type][:SOURCE_FILE_ENDINGS] = compiler.fileEndings.endings.split(",").map{|e| e.strip}