From bf4fbb2909eb9f5aa4eb49c393ddaddb92f1c418 Mon Sep 17 00:00:00 2001 From: Yaron Keren Date: Sat, 24 Oct 2015 19:27:28 +0000 Subject: [PATCH] Add libuuid to required system libraries list for mingw. This list is produced by llvm-config --system-libs to be used by external programs using the llvm libraries, such as creduce. In r250501 llvm/Support/Windows/Path.inc started to use the constant FOLDERID_Profile from libuuid. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251201 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Support/CMakeLists.txt b/lib/Support/CMakeLists.txt index badfd99b673..784e00e15b9 100644 --- a/lib/Support/CMakeLists.txt +++ b/lib/Support/CMakeLists.txt @@ -1,7 +1,8 @@ set(system_libs) if( NOT MSVC ) if( MINGW ) - set(system_libs ${system_libs} psapi shell32 ole32) + # libuuid required for FOLDERID_Profile usage in lib/Support/Windows/Path.inc. + set(system_libs ${system_libs} psapi shell32 ole32 uuid) elseif( CMAKE_HOST_UNIX ) if( HAVE_LIBRT ) set(system_libs ${system_libs} rt) -- 2.34.1