diff --git a/CMakeLists.txt b/CMakeLists.txt
index f6531904a..54c3ae199 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -270,10 +270,10 @@ target_link_libraries(${PDAL_LIB_NAME}
         ${WINSOCK_LIBRARY}
 )
 
-if (ZSTD_FOUND)
+if (zstd_FOUND)
     target_link_libraries(${PDAL_LIB_NAME}
         PRIVATE
-        zstd::libzstd)
+        zstd::libzstd_shared)
 endif()
 
 if (ZLIB_FOUND)
diff --git a/cmake/zstd.cmake b/cmake/zstd.cmake
index 8ae6cdff1..e557c49d5 100644
--- a/cmake/zstd.cmake
+++ b/cmake/zstd.cmake
@@ -7,7 +7,7 @@ if (WITH_ZSTD)
     find_package(zstd CONFIG QUIET)
     set_package_properties(ZSTD PROPERTIES TYPE
         PURPOSE "General compression support")
-    if (ZSTD_FOUND)
+    if (zstd_FOUND)
         set(PDAL_HAVE_ZSTD 1)
-    endif(ZSTD_FOUND)
+    endif(zstd_FOUND)
 endif(WITH_ZSTD)
