From 4c6ffc7c7754c143387f5481477fd559e44100a1 Mon Sep 17 00:00:00 2001 From: Anatoly Baksheev Date: Sun, 28 Nov 2010 11:12:35 +0000 Subject: [PATCH] temporary removed VERSION_VAR (because this requires cmake 2.8.3) --- modules/gpu/FindNPP.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/gpu/FindNPP.cmake b/modules/gpu/FindNPP.cmake index 09e4d17421..9863ddc331 100644 --- a/modules/gpu/FindNPP.cmake +++ b/modules/gpu/FindNPP.cmake @@ -36,7 +36,7 @@ ############################################################################### cmake_policy(PUSH) -cmake_minimum_required(VERSION 2.8.3) +cmake_minimum_required(VERSION 2.8.0) cmake_policy(POP) if(NOT "${CUDA_NPP_LIBRARY_ROOT_DIR}" STREQUAL "${CUDA_NPP_LIBRARY_ROOT_DIR_INTERNAL}") @@ -107,8 +107,8 @@ find_package_handle_standard_args( NPP REQUIRED_VARS CUDA_NPP_INCLUDES CUDA_NPP_LIBRARIES - # Don't remove!!! Please update your CMake. - VERSION_VAR + #Need cmake 2.8.3 to uncomment this. + #VERSION_VAR NPP_VERSION) if(APPLE)