From d032c8ba2c90695f63acfdc568db6d5a16e6c1d3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 30 Jun 2012 14:28:45 +0000 Subject: disable opencl when compo is disabled. --- source/blender/CMakeLists.txt | 2 +- source/blender/opencl/CMakeLists.txt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender') diff --git a/source/blender/CMakeLists.txt b/source/blender/CMakeLists.txt index 3241acd7df6..3c756668578 100644 --- a/source/blender/CMakeLists.txt +++ b/source/blender/CMakeLists.txt @@ -99,7 +99,6 @@ add_subdirectory(blenfont) add_subdirectory(blenloader) add_subdirectory(ikplugin) add_subdirectory(gpu) -add_subdirectory(opencl) add_subdirectory(imbuf) add_subdirectory(avi) add_subdirectory(nodes) @@ -108,6 +107,7 @@ add_subdirectory(makesdna) add_subdirectory(makesrna) if(WITH_COMPOSITOR) + add_subdirectory(opencl) # later on this may be used more generally add_subdirectory(compositor) endif() diff --git a/source/blender/opencl/CMakeLists.txt b/source/blender/opencl/CMakeLists.txt index 6b645e02a6f..20dcf33d363 100644 --- a/source/blender/opencl/CMakeLists.txt +++ b/source/blender/opencl/CMakeLists.txt @@ -33,10 +33,10 @@ set(INC_SYS ) set(SRC - OCL_opencl.h - intern/clew.h - intern/clew.c - intern/OCL_opencl.c + OCL_opencl.h + intern/clew.h + intern/clew.c + intern/OCL_opencl.c ) -- cgit v1.2.3