mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +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})
|
||||
check_function_exists (uuid_unparse_lower HAVE_UUID_UNPARSE_LOWER)
|
||||
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 (DARWIN OR FREEBSD OR OPENBSD)
|
||||
|
||||
if (HAVE_UUID_UNPARSE_LOWER)
|
||||
message ("-- Found libuuid")
|
||||
else (HAVE_UUID_UNPARSE_LOWER)
|
||||
message ("-- Found libuuid, using internal uuid_unparse_lower")
|
||||
message ("-- Using internal uuid_unparse_lower")
|
||||
endif (HAVE_UUID_UNPARSE_LOWER)
|
||||
|
||||
if (HAIKU)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue