From 82313b3f6c694bc2d999de48d5a33e36e1657515 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Wed, 13 Feb 2013 14:18:02 +0400 Subject: [PATCH] Add OpenCL section to status report --- CMakeLists.txt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0aa3dbb..a37b28c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -718,7 +718,7 @@ if(DEFINED WITH_PVAPI) endif(DEFINED WITH_PVAPI) if(DEFINED WITH_GIGEAPI) - status(" GigEVisionSDK:" HAVE_GIGE_API THEN YES ELSE NO) + status(" GigEVisionSDK:" HAVE_GIGE_API THEN YES ELSE NO) endif(DEFINED WITH_GIGEAPI) if(DEFINED WITH_QUICKTIME) @@ -801,6 +801,19 @@ if(HAVE_CUDA) status(" Use fast math:" CUDA_FAST_MATH THEN YES ELSE NO) endif() +if(HAVE_OPENCL AND BUILD_opencv_ocl) + status("") + status(" OpenCL") + if(OPENCL_INCLUDE_DIR) + status(" Include:" ${OPENCL_INCLUDE_DIR}) + endif() + if(OPENCL_LIBRARIES) + status(" libraries:" ${OPENCL_LIBRARIES}) + endif() + status(" Use AMDFFT:" HAVE_CLAMDFFT THEN YES ELSE NO) + status(" Use AMDBLAS:" HAVE_CLAMDBLAS THEN YES ELSE NO) +endif() + # ========================== python ========================== status("") status(" Python:") -- 2.7.4