mirror of
				https://git.code.sf.net/p/libpng/code.git
				synced 2025-07-10 18:04:09 +02:00 
			
		
		
		
	[libpng15] Conditionalize install rules for MINGW and CYGWIN in CMakeLists.txt
This commit is contained in:
		
							parent
							
								
									ea8d0b9408
								
							
						
					
					
						commit
						da544d7d3e
					
				
							
								
								
									
										25
									
								
								ANNOUNCE
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								ANNOUNCE
									
									
									
									
									
								
							@ -1,5 +1,5 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Libpng 1.5.8beta01 - January 15, 2012
 | 
					Libpng 1.5.8rc02 - January 25, 2012
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This is not intended to be a public release.  It will be replaced
 | 
					This is not intended to be a public release.  It will be replaced
 | 
				
			||||||
within a few weeks by a public version or by another test version.
 | 
					within a few weeks by a public version or by another test version.
 | 
				
			||||||
@ -9,24 +9,24 @@ Files available for download:
 | 
				
			|||||||
Source files with LF line endings (for Unix/Linux) and with a
 | 
					Source files with LF line endings (for Unix/Linux) and with a
 | 
				
			||||||
"configure" script
 | 
					"configure" script
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   1.5.8beta01.tar.xz (LZMA-compressed, recommended)
 | 
					   1.5.8rc02.tar.xz (LZMA-compressed, recommended)
 | 
				
			||||||
   1.5.8beta01.tar.gz
 | 
					   1.5.8rc02.tar.gz
 | 
				
			||||||
   1.5.8beta01.tar.bz2
 | 
					   1.5.8rc02.tar.bz2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Source files with CRLF line endings (for Windows), without the
 | 
					Source files with CRLF line endings (for Windows), without the
 | 
				
			||||||
"configure" script
 | 
					"configure" script
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   lp158b01.7z  (LZMA-compressed, recommended)
 | 
					   lp158r02.7z  (LZMA-compressed, recommended)
 | 
				
			||||||
   lp158b01.zip
 | 
					   lp158r02.zip
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Other information:
 | 
					Other information:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   1.5.8beta01-README.txt
 | 
					   1.5.8rc02-README.txt
 | 
				
			||||||
   1.5.8beta01-LICENSE.txt
 | 
					   1.5.8rc02-LICENSE.txt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Changes since the last public release (1.5.7):
 | 
					Changes since the last public release (1.5.7):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Version 1.5.8beta01 [January 15, 2012]
 | 
					Version 1.5.8beta01 [January 15, 2011]
 | 
				
			||||||
  Removed '#include config.h"' from contrib/libtests/pngvalid.c.  It's not
 | 
					  Removed '#include config.h"' from contrib/libtests/pngvalid.c.  It's not
 | 
				
			||||||
    needed and causes trouble for VPATH building.
 | 
					    needed and causes trouble for VPATH building.
 | 
				
			||||||
  Moved AC_MSG_CHECKING([if libraries can be versioned]) later to the proper
 | 
					  Moved AC_MSG_CHECKING([if libraries can be versioned]) later to the proper
 | 
				
			||||||
@ -34,6 +34,13 @@ Version 1.5.8beta01 [January 15, 2012]
 | 
				
			|||||||
  Fix bug in pngerror.c: some long warnings were being improperly truncated
 | 
					  Fix bug in pngerror.c: some long warnings were being improperly truncated
 | 
				
			||||||
    (bug introduced in libpng-1.5.3beta05).
 | 
					    (bug introduced in libpng-1.5.3beta05).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Version 1.5.8rc01 [January 25, 2012]
 | 
				
			||||||
 | 
					  No changes.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Version 1.5.8rc02
 | 
				
			||||||
 | 
					  Fixed Min/GW uninstall to remove libpng.dll.a
 | 
				
			||||||
 | 
					  Conditionalize the install rules for MINGW and CYGWIN in CMakeLists.txt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
 | 
					Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
 | 
				
			||||||
(subscription required; visit
 | 
					(subscription required; visit
 | 
				
			||||||
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
 | 
					https://lists.sourceforge.net/lists/listinfo/png-mng-implement
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										10
									
								
								CHANGES
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								CHANGES
									
									
									
									
									
								
							@ -3776,7 +3776,7 @@ Version 1.5.7 [December 15, 2011]
 | 
				
			|||||||
  Minor fixes to pngvalid.c for gcc 4.6.2 compatibility to remove warnings
 | 
					  Minor fixes to pngvalid.c for gcc 4.6.2 compatibility to remove warnings
 | 
				
			||||||
    reported by earlier versions.
 | 
					    reported by earlier versions.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Version 1.5.8beta01 [January 15, 2012]
 | 
					Version 1.5.8beta01 [January 15, 2011]
 | 
				
			||||||
  Removed '#include config.h"' from contrib/libtests/pngvalid.c.  It's not
 | 
					  Removed '#include config.h"' from contrib/libtests/pngvalid.c.  It's not
 | 
				
			||||||
    needed and causes trouble for VPATH building.
 | 
					    needed and causes trouble for VPATH building.
 | 
				
			||||||
  Moved AC_MSG_CHECKING([if libraries can be versioned]) later to the proper
 | 
					  Moved AC_MSG_CHECKING([if libraries can be versioned]) later to the proper
 | 
				
			||||||
@ -3784,6 +3784,14 @@ Version 1.5.8beta01 [January 15, 2012]
 | 
				
			|||||||
  Fix bug in pngerror.c: some long warnings were being improperly truncated
 | 
					  Fix bug in pngerror.c: some long warnings were being improperly truncated
 | 
				
			||||||
    (bug introduced in libpng-1.5.3beta05).
 | 
					    (bug introduced in libpng-1.5.3beta05).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Version 1.5.8rc01 [January 25, 2012]
 | 
				
			||||||
 | 
					  No changes.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Version 1.5.8rc02
 | 
				
			||||||
 | 
					  Fixed Min/GW uninstall to remove libpng.dll.a
 | 
				
			||||||
 | 
					  Conditionalize the install rules for MINGW and CYGWIN in CMakeLists.txt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
 | 
					Send comments/corrections/commendations to png-mng-implement at lists.sf.net
 | 
				
			||||||
(subscription required; visit
 | 
					(subscription required; visit
 | 
				
			||||||
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
 | 
					https://lists.sourceforge.net/lists/listinfo/png-mng-implement
 | 
				
			||||||
 | 
				
			|||||||
@ -229,7 +229,7 @@ endif(NOT WIN32 OR CYGWIN OR MINGW)
 | 
				
			|||||||
# SET UP LINKS
 | 
					# SET UP LINKS
 | 
				
			||||||
if(PNG_SHARED)
 | 
					if(PNG_SHARED)
 | 
				
			||||||
  set_target_properties(${PNG_LIB_NAME} PROPERTIES
 | 
					  set_target_properties(${PNG_LIB_NAME} PROPERTIES
 | 
				
			||||||
#   VERSION 15.${PNGLIB_RELEASE}.1.5.8beta01
 | 
					#   VERSION 15.${PNGLIB_RELEASE}.1.5.8rc02
 | 
				
			||||||
    VERSION 15.${PNGLIB_RELEASE}.0
 | 
					    VERSION 15.${PNGLIB_RELEASE}.0
 | 
				
			||||||
    SOVERSION 15
 | 
					    SOVERSION 15
 | 
				
			||||||
    CLEAN_DIRECT_OUTPUT 1)
 | 
					    CLEAN_DIRECT_OUTPUT 1)
 | 
				
			||||||
@ -301,10 +301,13 @@ if(NOT SKIP_INSTALL_HEADERS AND NOT SKIP_INSTALL_ALL )
 | 
				
			|||||||
  install(FILES ${libpng_public_hdrs}   DESTINATION include/${PNGLIB_NAME})
 | 
					  install(FILES ${libpng_public_hdrs}   DESTINATION include/${PNGLIB_NAME})
 | 
				
			||||||
endif()
 | 
					endif()
 | 
				
			||||||
if(NOT SKIP_INSTALL_EXECUTABLES AND NOT SKIP_INSTALL_ALL )
 | 
					if(NOT SKIP_INSTALL_EXECUTABLES AND NOT SKIP_INSTALL_ALL )
 | 
				
			||||||
 | 
					  if(NOT WIN32 OR CYGWIN OR MINGW)
 | 
				
			||||||
    install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/libpng-config DESTINATION bin)
 | 
					    install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/libpng-config DESTINATION bin)
 | 
				
			||||||
    install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${PNGLIB_NAME}-config
 | 
					    install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${PNGLIB_NAME}-config
 | 
				
			||||||
            DESTINATION bin)
 | 
					            DESTINATION bin)
 | 
				
			||||||
 | 
					  endif(NOT WIN32 OR CYGWIN OR MINGW)
 | 
				
			||||||
endif()
 | 
					endif()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL )
 | 
					if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL )
 | 
				
			||||||
  # Install man pages
 | 
					  # Install man pages
 | 
				
			||||||
  if(NOT PNG_MAN_DIR)
 | 
					  if(NOT PNG_MAN_DIR)
 | 
				
			||||||
@ -313,6 +316,7 @@ if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL )
 | 
				
			|||||||
  install(FILES libpng.3 libpngpf.3      DESTINATION ${PNG_MAN_DIR}/man3)
 | 
					  install(FILES libpng.3 libpngpf.3      DESTINATION ${PNG_MAN_DIR}/man3)
 | 
				
			||||||
  install(FILES png.5                    DESTINATION ${PNG_MAN_DIR}/man5)
 | 
					  install(FILES png.5                    DESTINATION ${PNG_MAN_DIR}/man5)
 | 
				
			||||||
  # Install pkg-config files
 | 
					  # Install pkg-config files
 | 
				
			||||||
 | 
					  if(NOT WIN32 OR CYGWIN OR MINGW)
 | 
				
			||||||
    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libpng.pc
 | 
					    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libpng.pc
 | 
				
			||||||
            DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
 | 
					            DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
 | 
				
			||||||
    install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/libpng-config
 | 
					    install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/libpng-config
 | 
				
			||||||
@ -321,6 +325,7 @@ if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL )
 | 
				
			|||||||
            DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
 | 
					            DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
 | 
				
			||||||
    install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${PNGLIB_NAME}-config
 | 
					    install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${PNGLIB_NAME}-config
 | 
				
			||||||
            DESTINATION bin)
 | 
					            DESTINATION bin)
 | 
				
			||||||
 | 
					  endif(NOT WIN32 OR CYGWIN OR MINGW)
 | 
				
			||||||
endif()
 | 
					endif()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# On versions of CMake that support it, create an export file CMake
 | 
					# On versions of CMake that support it, create an export file CMake
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user