diff --git a/src/build/ptex-config.cmake b/src/build/ptex-config.cmake
index f95df9e..2d3f58f 100644
--- a/src/build/ptex-config.cmake
+++ b/src/build/ptex-config.cmake
@@ -1,11 +1,11 @@
 @PACKAGE_INIT@
 
+include(CMakeFindDependencyMacro)
 include("${CMAKE_CURRENT_LIST_DIR}/ptex-version.cmake")
 include("${CMAKE_CURRENT_LIST_DIR}/ptex-exports.cmake")
 
 # Provide PkgConfig::ZLIB to downstream dependents
-find_package(PkgConfig REQUIRED)
-pkg_checK_modules(Ptex_ZLIB REQUIRED zlib IMPORTED_TARGET)
+find_dependency(ZLIB REQUIRED)
 
 set_and_check(Ptex_DIR @PACKAGE_CMAKE_INSTALL_PREFIX@)
 set_and_check(Ptex_LIBRARY_DIRS @PACKAGE_CMAKE_INSTALL_LIBDIR@)
