aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-10-06 20:44:34 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-10-06 20:44:34 +0000
commitb262556c45bb7b3add826bc3f050c99db6990c37 (patch)
tree78000a447829d54c2c4dfdae66314a83c8d2700a /cmake/modules
parent5a1a1856a4dfa1335d937437fade5c0bbab06560 (diff)
downloadexternal_llvm-b262556c45bb7b3add826bc3f050c99db6990c37.zip
external_llvm-b262556c45bb7b3add826bc3f050c99db6990c37.tar.gz
external_llvm-b262556c45bb7b3add826bc3f050c99db6990c37.tar.bz2
Revert "Windows: Add support for unicode command lines"
This is causing MinGW bots to fail. This reverts commit r192069. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/LLVM-Config.cmake2
-rw-r--r--cmake/modules/TableGen.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/LLVM-Config.cmake b/cmake/modules/LLVM-Config.cmake
index e26fabd..9fa45ce 100644
--- a/cmake/modules/LLVM-Config.cmake
+++ b/cmake/modules/LLVM-Config.cmake
@@ -2,7 +2,7 @@ function(get_system_libs return_var)
# Returns in `return_var' a list of system libraries used by LLVM.
if( NOT MSVC )
if( MINGW )
- set(system_libs ${system_libs} imagehlp psapi shell32)
+ set(system_libs ${system_libs} imagehlp psapi)
elseif( CMAKE_HOST_UNIX )
if( HAVE_LIBRT )
set(system_libs ${system_libs} rt)
diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake
index c17e67e..bbd6339 100644
--- a/cmake/modules/TableGen.cmake
+++ b/cmake/modules/TableGen.cmake
@@ -128,7 +128,7 @@ macro(add_tablegen target project)
endif()
if( MINGW )
- target_link_libraries(${target} imagehlp psapi shell32)
+ target_link_libraries(${target} imagehlp psapi)
if(CMAKE_SIZEOF_VOID_P MATCHES "8")
set_target_properties(${target} PROPERTIES LINK_FLAGS -Wl,--stack,16777216)
endif(CMAKE_SIZEOF_VOID_P MATCHES "8")