changeset 307:700f247f32a1

minor fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 14 Feb 2017 12:31:58 +0900
parents ae4f6aa427f5
children aeddca686007
files src/parallel_execution/CMakeLists.txt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/parallel_execution/CMakeLists.txt	Tue Feb 14 12:22:05 2017 +0900
+++ b/src/parallel_execution/CMakeLists.txt	Tue Feb 14 12:31:58 2017 +0900
@@ -63,7 +63,7 @@
       main.cbc RedBlackTree.cbc compare.c SingleLinkedStack.cbc CPUWorker.cbc time.cbc twice.cbc TaskManagerImpl.cbc SingleLinkedQueue.cbc SynchronizedQueue.cbc SemaphoreImpl.cbc
 )
 
-if (${USE_CUDA})
+if (${USE_CUDA}==1)
     GearsCommand(
       TARGET
           CUDAtwice