[Cmake-commits] [cmake-commits] king committed CYGWIN.cmake 1.22 1.23
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Jan 13 14:12:33 EST 2010
Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv22124/Modules/Platform
Modified Files:
CYGWIN.cmake
Log Message:
Do not find cyg*.dll on Cygwin
While Cygwin supports linking directly to .dll files, the behavior is
now discouraged. All Cygwin packages now provide import libraries of
the form lib*.dll.a and CMake has built the import libraries for years.
We believe it is now safe to stop explicitly searching for .dll files
because their import libraries will always be available when the
corresponding header files are available. Users can always set
find_library cache entries to point at a .dll file by hand if they
really must use one.
Change based on patch from issue #10122.
Index: CYGWIN.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/CYGWIN.cmake,v
retrieving revision 1.22
retrieving revision 1.23
diff -C 2 -d -r1.22 -r1.23
*** CYGWIN.cmake 2 Dec 2009 14:51:59 -0000 1.22
--- CYGWIN.cmake 13 Jan 2010 19:12:29 -0000 1.23
***************
*** 12,17 ****
SET(CMAKE_MODULE_EXISTS 1)
! SET(CMAKE_FIND_LIBRARY_PREFIXES "cyg" "lib")
! SET(CMAKE_FIND_LIBRARY_SUFFIXES ".dll" ".dll.a" ".a")
# Shared libraries on cygwin can be named with their version number.
--- 12,17 ----
SET(CMAKE_MODULE_EXISTS 1)
! SET(CMAKE_FIND_LIBRARY_PREFIXES "lib")
! SET(CMAKE_FIND_LIBRARY_SUFFIXES ".dll.a" ".a")
# Shared libraries on cygwin can be named with their version number.
More information about the Cmake-commits
mailing list