/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: 2016-03-22 18:33:45 UTC
  • mfrom: (12.2.1 fastwriter)
  • Revision ID: csa@suren.me-20160322183345-i9omcntp2sa6uhm8
Detect missing libuuid library

Show diffs side-by-side

added added

removed removed

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