summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-02-22 19:33:04 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-02-22 19:33:04 (GMT)
commit521d2445313e809def1a4c1dfb23dd5ed945fead (patch)
treebd590db2f2ec15debf982da5a0cd70613fe253c5 /Modules/Platform
parent59cfdd5c77c8589068963a6c0bc5caadbf86666b (diff)
parent6a61a8a5383fe7418cdd893c97328a27b86b08da (diff)
downloadCMake-521d2445313e809def1a4c1dfb23dd5ed945fead.zip
CMake-521d2445313e809def1a4c1dfb23dd5ed945fead.tar.gz
CMake-521d2445313e809def1a4c1dfb23dd5ed945fead.tar.bz2
Merge topic 'mingw-module-definition'
6a61a8a Honor module .def files with MinGW tools (#9997)
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-GNU.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-GNU.cmake b/Modules/Platform/Windows-GNU.cmake
index 7084b83..8df0bcb 100644
--- a/Modules/Platform/Windows-GNU.cmake
+++ b/Modules/Platform/Windows-GNU.cmake
@@ -43,6 +43,7 @@ endif()
set(CMAKE_DL_LIBS "")
set(CMAKE_LIBRARY_PATH_FLAG "-L")
set(CMAKE_LINK_LIBRARY_FLAG "-l")
+set(CMAKE_LINK_DEF_FILE_FLAG "-Wl,")
set(CMAKE_LINK_LIBRARY_SUFFIX "")
set(CMAKE_CREATE_WIN32_EXE "-mwindows")