Compare commits
	
		
			1 Commits
		
	
	
		
			v11.4.1
			...
			revert-370
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | b1a72f6133 | 
| @@ -234,7 +234,11 @@ endif() | |||||||
| option(USE_ZLIB "Enable zlib support" TRUE) | option(USE_ZLIB "Enable zlib support" TRUE) | ||||||
|  |  | ||||||
| if (USE_ZLIB) | if (USE_ZLIB) | ||||||
|   find_package(ZLIB REQUIRED) |   # This ZLIB_FOUND check is to help find a cmake manually configured zlib | ||||||
|  |   if (NOT ZLIB_FOUND) | ||||||
|  |     find_package(ZLIB REQUIRED) | ||||||
|  |   endif() | ||||||
|  |   target_include_directories(ixwebsocket PUBLIC $<BUILD_INTERFACE:${ZLIB_INCLUDE_DIRS}>) | ||||||
|   target_link_libraries(ixwebsocket PRIVATE ZLIB::ZLIB) |   target_link_libraries(ixwebsocket PRIVATE ZLIB::ZLIB) | ||||||
|  |  | ||||||
|   target_compile_definitions(ixwebsocket PUBLIC IXWEBSOCKET_USE_ZLIB) |   target_compile_definitions(ixwebsocket PUBLIC IXWEBSOCKET_USE_ZLIB) | ||||||
| @@ -285,14 +289,10 @@ if (IXWEBSOCKET_INSTALL) | |||||||
|           PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ixwebsocket/ |           PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ixwebsocket/ | ||||||
|   ) |   ) | ||||||
|  |  | ||||||
|   configure_file("${CMAKE_CURRENT_LIST_DIR}/ixwebsocket-config.cmake.in" "${CMAKE_BINARY_DIR}/ixwebsocket-config.cmake" @ONLY) |  | ||||||
|   install(FILES "${CMAKE_BINARY_DIR}/ixwebsocket-config.cmake" DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/ixwebsocket") |  | ||||||
|    |  | ||||||
|   install(EXPORT ixwebsocket |   install(EXPORT ixwebsocket | ||||||
|           FILE ixwebsocket-targets.cmake |           FILE ixwebsocket-config.cmake | ||||||
|           NAMESPACE ixwebsocket:: |           NAMESPACE ixwebsocket:: | ||||||
|           DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ixwebsocket |           DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ixwebsocket) | ||||||
|   ) |  | ||||||
| endif() | endif() | ||||||
|  |  | ||||||
| if (USE_WS OR USE_TEST) | if (USE_WS OR USE_TEST) | ||||||
|   | |||||||
| @@ -2,10 +2,6 @@ | |||||||
|  |  | ||||||
| All changes to this project will be documented in this file. | All changes to this project will be documented in this file. | ||||||
|  |  | ||||||
| ## [11.4.1] - 2022-04-23 |  | ||||||
|  |  | ||||||
| vckpg + cmake fix, to handle zlib as a dependency better |  | ||||||
|  |  | ||||||
| ## [11.4.0] - 2022-01-05 | ## [11.4.0] - 2022-01-05 | ||||||
|  |  | ||||||
| (Windows) Use wsa select event, which should lead to a much better behavior on Windows in general, and also when sending large payloads (#342) | (Windows) Use wsa select event, which should lead to a much better behavior on Windows in general, and also when sending large payloads (#342) | ||||||
|   | |||||||
| @@ -1,9 +0,0 @@ | |||||||
| @PACKAGE_INIT@ |  | ||||||
|  |  | ||||||
| include(CMakeFindDependencyMacro) |  | ||||||
|  |  | ||||||
| if(@USE_ZLIB@) |  | ||||||
|   find_dependency(ZLIB) |  | ||||||
| endif() |  | ||||||
|  |  | ||||||
| include("${CMAKE_CURRENT_LIST_DIR}/ixwebsocket-targets.cmake") |  | ||||||
| @@ -6,4 +6,4 @@ | |||||||
|  |  | ||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #define IX_WEBSOCKET_VERSION "11.4.1" | #define IX_WEBSOCKET_VERSION "11.4.0" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user