Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2013-01-14 23:33:16 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-01-14 23:33:16 +0400
commitf2891d373119ec33dd05cff16075d74ce63029dc (patch)
tree273e579fe706f2a6919dd52e431b61bd19cb2809 /intern/cycles/util
parent2b7db66edf76a79c7abcf75f4bccafd17ecfeb37 (diff)
For non-windows systems, check for CUDA compiler during runtime
Diffstat (limited to 'intern/cycles/util')
-rw-r--r--intern/cycles/util/util_cuda.cpp2
1 files changed, 1 insertions, 1 deletions
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