/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/cmake/FindCUDPP.cmake

  • 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:
10
10
#
11
11
 
12
12
FIND_PATH(CUDPP_INCLUDE_DIR cudpp.h
13
 
   ${CUDPP_DIR}/cudpp/include
14
 
   ${CUDPP_DIR}/include
 
13
   ${CUDPP_ROOT_DIR}/cudpp/include
 
14
   ${CUDPP_ROOT_DIR}/include
15
15
)
16
16
 
17
17
FIND_LIBRARY(CUDPP_LIBRARY
18
18
  NAMES cudpp cudpp64
19
19
  PATHS 
20
 
     ${CUDPP_DIR}/lib
 
20
     ${CUDPP_ROOT_DIR}/lib
21
21
)
22
22
 
23
23
IF(CUDPP_LIBRARY)
28
28
    GET_FILENAME_COMPONENT(CUDPP_LINK_DIRECTORIES ${CUDPP_LIBRARY} PATH)
29
29
    
30
30
  ELSE (CUDPP_INCLUDE_DIR)
31
 
    MESSAGE("CUDPP include dir not found. Set CUDPP_DIR to find it.")
 
31
    MESSAGE("CUDPP include dir not found. Set CUDPP_ROOT_DIR to find it.")
32
32
  ENDIF(CUDPP_INCLUDE_DIR)
33
33
ELSE(CUDPP_LIBRARY)
34
 
  MESSAGE("FFTW3 lib not found. Set CUDPP_DIR to find it.")
 
34
  MESSAGE("CUDPP lib not found. Set CUDPP_ROOT_DIR to find it.")
35
35
ENDIF(CUDPP_LIBRARY)
36
36
 
37
37