mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-05 04:57:21 +02:00
Make libuuid not mandatory as internal implementation is available
This commit is contained in:
parent
79eb38d582
commit
7511f9ab43
1 changed files with 2 additions and 2 deletions
|
@ -89,14 +89,14 @@ else (DARWIN OR FREEBSD OR OPENBSD)
|
||||||
set (CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${UUID_LIBRARY})
|
set (CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${UUID_LIBRARY})
|
||||||
check_function_exists (uuid_unparse_lower HAVE_UUID_UNPARSE_LOWER)
|
check_function_exists (uuid_unparse_lower HAVE_UUID_UNPARSE_LOWER)
|
||||||
else (UUID_INCLUDE_DIR AND UUID_LIBRARY)
|
else (UUID_INCLUDE_DIR AND UUID_LIBRARY)
|
||||||
message (FATAL_ERROR "-- libuuid not found.")
|
message ("-- libuuid not found.")
|
||||||
endif (UUID_INCLUDE_DIR AND UUID_LIBRARY)
|
endif (UUID_INCLUDE_DIR AND UUID_LIBRARY)
|
||||||
endif (DARWIN OR FREEBSD OR OPENBSD)
|
endif (DARWIN OR FREEBSD OR OPENBSD)
|
||||||
|
|
||||||
if (HAVE_UUID_UNPARSE_LOWER)
|
if (HAVE_UUID_UNPARSE_LOWER)
|
||||||
message ("-- Found libuuid")
|
message ("-- Found libuuid")
|
||||||
else (HAVE_UUID_UNPARSE_LOWER)
|
else (HAVE_UUID_UNPARSE_LOWER)
|
||||||
message ("-- Found libuuid, using internal uuid_unparse_lower")
|
message ("-- Using internal uuid_unparse_lower")
|
||||||
endif (HAVE_UUID_UNPARSE_LOWER)
|
endif (HAVE_UUID_UNPARSE_LOWER)
|
||||||
|
|
||||||
if (HAIKU)
|
if (HAIKU)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue