From f2891d373119ec33dd05cff16075d74ce63029dc Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Mon, 14 Jan 2013 19:33:16 +0000 Subject: For non-windows systems, check for CUDA compiler during runtime --- intern/cycles/util/util_cuda.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/util') diff --git a/intern/cycles/util/util_cuda.cpp b/intern/cycles/util/util_cuda.cpp index ddd8b001465..6c9ee7c548f 100644 --- a/intern/cycles/util/util_cuda.cpp +++ b/intern/cycles/util/util_cuda.cpp @@ -378,7 +378,7 @@ bool cuLibraryInit() if(cuHavePrecompiledKernels()) result = true; -#ifdef _WIN32 +#ifndef _WIN32 else if(cuCompilerPath() != "") result = true; #endif -- cgit v1.2.3