summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-01-21 20:03:17 (GMT)
committerBrad King <brad.king@kitware.com>2010-01-21 20:03:17 (GMT)
commit41024b006bcfcb0222b10fa08af2d75153511d18 (patch)
tree3835aa1adb32ccec6fde97aee0521999124903ab /Modules/Platform
parent1804c6bfe2705ad131c01e89d5c58729f14ce6d4 (diff)
downloadCMake-41024b006bcfcb0222b10fa08af2d75153511d18.zip
CMake-41024b006bcfcb0222b10fa08af2d75153511d18.tar.gz
CMake-41024b006bcfcb0222b10fa08af2d75153511d18.tar.bz2
Fix CMAKE_DL_LIBS on Cygwin
The variable should contain the name of a library needed to link the symbol equivalent to dlopen. On Cygwin no special library is needed, and certainly not "gdi32". Change based on patch from issue #10122.
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/CYGWIN-GNU.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/Platform/CYGWIN-GNU.cmake b/Modules/Platform/CYGWIN-GNU.cmake
index 5ca6697..993de69 100644
--- a/Modules/Platform/CYGWIN-GNU.cmake
+++ b/Modules/Platform/CYGWIN-GNU.cmake
@@ -18,7 +18,6 @@ if(__CYGWIN_COMPILER_GNU)
endif()
set(__CYGWIN_COMPILER_GNU 1)
-set(CMAKE_DL_LIBS "-lgdi32" )
set(CMAKE_EXE_LINKER_FLAGS_INIT "-Wl,--enable-auto-import")
set(CMAKE_CREATE_WIN32_EXE "-mwindows")