From: Yaron Keren Date: Sat, 24 Oct 2015 19:27:28 +0000 (+0000) Subject: Add libuuid to required system libraries list for mingw. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bf4fbb2909eb9f5aa4eb49c393ddaddb92f1c418;p=oota-llvm.git 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 --- 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)