summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-19 14:32:31 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-02-19 14:32:31 (GMT)
commit05c54c5bc7e3fb29d4d9366035410b69cc6ca494 (patch)
tree374daa82b16575292b1636bdd5a82c609e28185e /Modules
parent6f9c4d17f89838a822baab5e99571c20113174f9 (diff)
parenta0f17fbe9cc8c8d30d8c1a4df50c4af5fc4e63d1 (diff)
downloadCMake-05c54c5bc7e3fb29d4d9366035410b69cc6ca494.zip
CMake-05c54c5bc7e3fb29d4d9366035410b69cc6ca494.tar.gz
CMake-05c54c5bc7e3fb29d4d9366035410b69cc6ca494.tar.bz2
Merge topic 'mingw-no-find_library-dll'
a0f17fbe Windows-GNU: Do not tell find_library to treat '.dll' as linkable
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Windows-GNU.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-GNU.cmake b/Modules/Platform/Windows-GNU.cmake
index ffc5657..a7653cf 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" ".dll.a" ".a" ".lib")
+ set(CMAKE_FIND_LIBRARY_SUFFIXES ".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()