File: ConfigureChecks.cmake

package info (click to toggle)
kcalcore 4%3A16.04.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,788 kB
  • ctags: 2,995
  • sloc: cpp: 24,232; ansic: 1,534; yacc: 949; perl: 131; sh: 25; makefile: 5
file content (8 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
include(CheckIncludeFiles)
include(CheckLibraryExists)

check_include_files(uuid/uuid.h HAVE_UUID_UUID_H)
find_library(UUID_LIBRARY NAMES e2fs-uuid uuid)
if(UUID_LIBRARY)
  check_library_exists("${UUID_LIBRARY}" uuid_generate_random "${LIB_INSTALL_DIR}" HAVE_UUID_LIBRARY)
endif(UUID_LIBRARY)