[Cmake-commits] [cmake-commits] king committed CYGWIN-GNU.cmake 1.1 1.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Jan 21 15:03:19 EST 2010
Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv6194/Modules/Platform
Modified Files:
CYGWIN-GNU.cmake
Log Message:
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.
Index: CYGWIN-GNU.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/CYGWIN-GNU.cmake,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** CYGWIN-GNU.cmake 2 Dec 2009 14:51:58 -0000 1.1
--- CYGWIN-GNU.cmake 21 Jan 2010 20:03:17 -0000 1.2
***************
*** 19,23 ****
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")
--- 19,22 ----
More information about the Cmake-commits
mailing list