[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.435 1.436

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jan 13 12:57:43 EST 2010


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv27366/Source

Modified Files:
	CMakeLists.txt 
Log Message:
Use if(CYGWIN) instead of if(WIN32 AND UNIX)

CMake has defined CYGWIN on Cygwin for years, so we no longer need the
legacy form of the test.  Change based on patch from issue #10122.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CMakeLists.txt,v
retrieving revision 1.435
retrieving revision 1.436
diff -C 2 -d -r1.435 -r1.436
*** CMakeLists.txt	8 Dec 2009 20:43:55 -0000	1.435
--- CMakeLists.txt	13 Jan 2010 17:57:38 -0000	1.436
***************
*** 426,435 ****
    )
  
! IF(WIN32 AND UNIX)
    SET(CPACK_SRCS ${CPACK_SRCS}
      CPack/cmCPackCygwinBinaryGenerator.cxx
      CPack/cmCPackCygwinSourceGenerator.cxx
      )
! ENDIF(WIN32 AND UNIX)
    
  IF(UNIX)
--- 426,435 ----
    )
  
! IF(CYGWIN)
    SET(CPACK_SRCS ${CPACK_SRCS}
      CPack/cmCPackCygwinBinaryGenerator.cxx
      CPack/cmCPackCygwinSourceGenerator.cxx
      )
! ENDIF(CYGWIN)
    
  IF(UNIX)



More information about the Cmake-commits mailing list