/alps/fastwriter

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/fastwriter

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2013-07-15 13:35:30 UTC
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: csa@suren.me-20130715133530-vnme0u5kecv4w4iq
Detect missing libuuid library

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
if (NOT DISABLE_XFS_REALTIME)
15
15
    check_include_files("xfs/xfs.h" HAVE_XFS_H)
16
16
    if (NOT HAVE_XFS_H)
17
 
        message(FATAL_ERROR "error: xfs/xfs.h is not found...")
 
17
        check_include_files("uuid/uuid.h" HAVE_UUID_H)
 
18
        if (HAVE_UUID_H)
 
19
            message(FATAL_ERROR "error: xfs/xfs.h is not found...")
 
20
        else (HAVE_UUID_H)
 
21
            message(FATAL_ERROR "error: uuid/uuid.h is not found...")
 
22
        endif (HAVE_UUID_H)
18
23
    endif (NOT HAVE_XFS_H)
19
24
endif (NOT DISABLE_XFS_REALTIME)
20
25