Skip to content

Commit

Permalink
Add libuuid to required system libraries list for mingw.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yrnkrn committed Oct 24, 2015
1 parent ff0edf0 commit bf4fbb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Support/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit bf4fbb2

Please sign in to comment.