We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ecb3c7 + 1c401a5 commit ff0c4fdCopy full SHA for ff0c4fd
cmake/FindUUID.cmake
@@ -13,6 +13,13 @@
13
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
14
#
15
16
+if (APPLE)
17
+ include(CheckSymbolExists)
18
+ # On mac, it can't find uuid library
19
+ # So, just check for the functions with the default include
20
+ CHECK_SYMBOL_EXISTS("uuid_generate" "uuid/uuid.h" UUID_SYMBOL)
21
+endif (APPLE)
22
+
23
if (UUID_SYMBOL)
24
set(UUID_FOUND TRUE)
25
elseif (UUID_LIBRARIES AND UUID_INCLUDE_DIRS)
0 commit comments