diff options
author | Brad King <brad.king@kitware.com> | 2015-06-09 13:18:44 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-06-09 13:18:44 (GMT) |
commit | a53d920290f15a55737c944f3abf563d8d5d002d (patch) | |
tree | cfbdd4923b0b88eb1db599175f5cb53c486d60fd /Modules | |
parent | d6011a61e94ef181a0aa6044216b6e8d327343e9 (diff) | |
parent | f5dbf00da67223c6f1d03cc4c88e05aa83b32f5b (diff) | |
download | CMake-a53d920290f15a55737c944f3abf563d8d5d002d.zip CMake-a53d920290f15a55737c944f3abf563d8d5d002d.tar.gz CMake-a53d920290f15a55737c944f3abf563d8d5d002d.tar.bz2 |
Merge topic 'revert-mingw-no-find_library-dll'
f5dbf00d Windows-GNU: Restore find_library treatment of '.dll' as linkable (#15409)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/Windows-GNU.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-GNU.cmake b/Modules/Platform/Windows-GNU.cmake index b571b16..b97409c 100644 --- a/Modules/Platform/Windows-GNU.cmake +++ b/Modules/Platform/Windows-GNU.cmake @@ -35,7 +35,7 @@ endif() if(MINGW) set(CMAKE_FIND_LIBRARY_PREFIXES "lib" "") - set(CMAKE_FIND_LIBRARY_SUFFIXES ".dll.a" ".a" ".lib") + set(CMAKE_FIND_LIBRARY_SUFFIXES ".dll" ".dll.a" ".a" ".lib") set(CMAKE_C_STANDARD_LIBRARIES_INIT "-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32") set(CMAKE_CXX_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT}") endif() |