summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-18 20:37:23 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-18 20:37:23 (GMT)
commit81677b31300f058830889e5603bf06ccd9221691 (patch)
tree35946600211458cb15f8269b2a5a607f43ecfc64 /Modules/Platform/Windows.cmake
parent9ba02838701e2513414f258dec9d63566ee9b481 (diff)
downloadCMake-81677b31300f058830889e5603bf06ccd9221691.zip
CMake-81677b31300f058830889e5603bf06ccd9221691.tar.gz
CMake-81677b31300f058830889e5603bf06ccd9221691.tar.bz2
ENH: Generate import libraries for DLLs on Cygwin and MinGW.
Diffstat (limited to 'Modules/Platform/Windows.cmake')
-rw-r--r--Modules/Platform/Windows.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Windows.cmake b/Modules/Platform/Windows.cmake
index a79a489..43605fb 100644
--- a/Modules/Platform/Windows.cmake
+++ b/Modules/Platform/Windows.cmake
@@ -2,6 +2,8 @@ SET(CMAKE_STATIC_LIBRARY_PREFIX "")
SET(CMAKE_STATIC_LIBRARY_SUFFIX ".lib")
SET(CMAKE_SHARED_LIBRARY_PREFIX "") # lib
SET(CMAKE_SHARED_LIBRARY_SUFFIX ".dll") # .so
+SET(CMAKE_IMPORT_LIBRARY_PREFIX "")
+SET(CMAKE_IMPORT_LIBRARY_SUFFIX ".lib")
SET(CMAKE_EXECUTABLE_SUFFIX ".exe") # .exe
SET(CMAKE_LINK_LIBRARY_SUFFIX ".lib")
SET(CMAKE_DL_LIBS "")