Remove obsolete bits from the CMake build now that we use targets properly.
* CMakeLists.txt:
Stop using SerfWindowsProcessOpenSSL() and SerfWindowsProcessZLIB().
* build/SerfWindowsToolkit.cmake
(SerfWindowsProcessOpenSSL, SerfWindowsProcessZLIB): Remove, obsolete.
git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1841782 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a7c4310..3a6f59f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -197,12 +197,6 @@
find_package(APR)
find_package(APRUtil)
-if(SERF_WINDOWS)
- # Find ZLIB and OpenSSL runtime libraries etc.
- SerfWindowsProcessOpenSSL()
- SerfWindowsProcessZLIB()
-endif(SERF_WINDOWS)
-
# Calculate the set of private and public targets
set(SERF_PRIVATE_TARGETS OpenSSL::Crypto OpenSSL::SSL ZLIB::ZLIB)
diff --git a/build/SerfWindowsToolkit.cmake b/build/SerfWindowsToolkit.cmake
index 5516d4f..fef4837 100644
--- a/build/SerfWindowsToolkit.cmake
+++ b/build/SerfWindowsToolkit.cmake
@@ -17,24 +17,6 @@
# under the License.
# ===================================================================
-# This function defines:
-# SERF_OPENSSL_STATIC, if we're linking with a static libraries.
-# SERF_OPENSSL_EXTRA_LIBS, if we need additional libraries to link.
-# SERF_OPENSSL_RUNTIME_LIBS, when it finds OpenSSL DLL libraries.
-function(SerfWindowsProcessOpenSSL)
- if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
- endif()
-endfunction(SerfWindowsProcessOpenSSL)
-
-# This function defines:
-# SERF_ZLIB_STATIC, if we're linking with a static libraries.
-# SERF_ZLIB_EXTRA_LIBS, if we need additional libraries to link.
-# SERF_ZLIB_RUNTIME_LIBS, when it finds OpenSSL DLL libraries.
-function(SerfWindowsProcessZLIB)
- if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
- endif()
-endfunction(SerfWindowsProcessZLIB)
-
# Generate a Windows DLL .def file from a list of headers.
function(SerfWindowsGenDef blacklist_ target_)
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")