Added UUID_LIBRARY cmake variable.

This commit is contained in:
XMRig
2019-12-31 01:19:22 +07:00
parent 6b1e1c62c5
commit cb048e6f47

View File

@@ -143,7 +143,11 @@ else()
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
set(EXTRA_LIBS pthread)
else()
set(EXTRA_LIBS pthread uuid.a rt dl)
if (NOT UUID_LIBRARY)
set(UUID_LIBRARY "uuid.a")
endif()
set(EXTRA_LIBS pthread ${UUID_LIBRARY} rt dl)
endif()
endif()