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
set(system_libs)
if( NOT MSVC )
if( MINGW )
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)
elseif( CMAKE_HOST_UNIX )
if( HAVE_LIBRT )
set(system_libs ${system_libs} rt)