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

  • Committer: Suren A. Chilingaryan
  • Date: 2010-04-25 04:39:54 UTC
  • Revision ID: csa@dside.dyndns.org-20100425043954-v7xm2bzohickyl9z
Multi-GPU support

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
             NAMES glib-2.0
33
33
             PATHS ${PKG_GLIB_LIBRARY_DIRS} )
34
34
 
 
35
find_library(GTHREAD2_LIBRARIES
 
36
             NAMES gthread-2.0
 
37
             PATHS ${PKG_GLIB_LIBRARY_DIRS} )
 
38
 
35
39
find_path(GLIB2_INTERNAL_INCLUDE_DIR glibconfig.h
36
40
          PATH_SUFFIXES glib-2.0/include
37
41
          PATHS ${PKG_GLIB_INCLUDE_DIRS} ${PKG_GLIB_LIBRARY_DIRS} ${CMAKE_SYSTEM_LIBRARY_PATH})
45
49
endif(GLIB2_INTERNAL_INCLUDE_DIR)
46
50
 
47
51
include(FindPackageHandleStandardArgs)
48
 
find_package_handle_standard_args(GLIB2  DEFAULT_MSG  GLIB2_LIBRARIES GLIB2_MAIN_INCLUDE_DIR)
 
52
find_package_handle_standard_args(GLIB2  DEFAULT_MSG  GLIB2_LIBRARIES GTHREAD2_LIBRARIES GLIB2_MAIN_INCLUDE_DIR)
49
53
 
50
 
mark_as_advanced(GLIB2_INCLUDE_DIR GLIB2_LIBRARIES GLIB2_INTERNAL_INCLUDE_DIR GLIB2_MAIN_INCLUDE_DIR)
 
54
mark_as_advanced(GLIB2_INCLUDE_DIR GLIB2_LIBRARIES GTHREAD2_LIBRARIES GLIB2_INTERNAL_INCLUDE_DIR GLIB2_MAIN_INCLUDE_DIR)