/normxcorr/trunk

To get this branch, use:
bzr branch http://suren.me/webbzr/normxcorr/trunk

« back to all changes in this revision

Viewing changes to dict_hw/CMakeLists.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2009-12-15 23:25:31 UTC
  • Revision ID: csa@dside.dyndns.org-20091215232531-9v9a2rpc1fe7gjc8
Count hardware initialization time, cmake scripts fixups

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
set (MINIMAL_CUDA_VERSION 2.3)
22
22
find_package(CUDA ${MINIMAL_CUDA_VERSION} REQUIRED)
23
 
find_package(CUDPP REQUIRED)
 
23
#find_package(CUDPP REQUIRED)
24
24
find_package(TIFF)
25
25
 
26
26
if (CMAKE_BUILD_TYPE)
55
55
endif()
56
56
 
57
57
if (CUDA_FOUND)
58
 
    message(" * CUDA ${CUDA_VERSION}, SDK, and CUDPP are found")
59
 
endif()
 
58
    if (CUDPP_FOUND)
 
59
        message(" * CUDA ${CUDA_VERSION} and CUDPP are found")
 
60
    else(CUDPP_FOUND)
 
61
        unset(CUDA_FOUND)
 
62
        message(" * CUDA ${CUDA_VERSION}, is found, but CUDPP is missing")
 
63
    endif(CUDPP_FOUND)
 
64
else(CUDA_FOUND)
 
65
        message(" * CUDA is not found")
 
66
endif(CUDA_FOUND)
 
67
 
 
68
if (NOT CUDA_FOUND)
 
69
        message(FATAL_ERROR "Not all CUDA libraries are found")
 
70
endif(NOT CUDA_FOUND)
60
71
 
61
72
message(" * Supported image formats: ${IMAGE_FORMATS}")
62
73