Blob Blame History Raw
--- orc-rel-release-1.6.6/cmake_modules/FindSnappy.cmake.orig	2020-12-03 15:46:53.000000000 -0500
+++ orc-rel-release-1.6.6/cmake_modules/FindSnappy.cmake	2021-09-15 13:50:06.714446184 -0400
@@ -14,7 +14,7 @@
 
 # SNAPPY_INCLUDE_DIR: directory containing headers
 # SNAPPY_LIBS: directory containing snappy libraries
-# SNAPPY_STATIC_LIB: path to libsnappy.a
+# SNAPPY_SHARED_LIB: path to libsnappy.a
 # SNAPPY_FOUND: whether snappy has been found
 
 if( NOT "${SNAPPY_HOME}" STREQUAL "")
@@ -38,14 +38,14 @@
   set (SNAPPY_HEADER_NAME snappy.h)
   set (SNAPPY_HEADER ${SNAPPY_INCLUDE_DIR}/${SNAPPY_HEADER_NAME})
   set (SNAPPY_LIB_NAME snappy)
-  set (SNAPPY_STATIC_LIB ${SNAPPY_LIBS}/${CMAKE_STATIC_LIBRARY_PREFIX}${SNAPPY_LIB_NAME}${CMAKE_STATIC_LIBRARY_SUFFIX})
+  set (SNAPPY_SHARED_LIB ${SNAPPY_LIBS}/${CMAKE_SHARED_LIBRARY_PREFIX}${SNAPPY_LIB_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX})
 else ()
   set (SNAPPY_FOUND FALSE)
 endif ()
 
 if (SNAPPY_FOUND)
   message (STATUS "Found the Snappy header: ${SNAPPY_HEADER}")
-  message (STATUS "Found the Snappy library: ${SNAPPY_STATIC_LIB}")
+  message (STATUS "Found the Snappy library: ${SNAPPY_SHARED_LIB}")
 else()
   if (_snappy_path)
     set (SNAPPY_ERR_MSG "Could not find Snappy. Looked in ${_snappy_path}.")
@@ -62,7 +62,7 @@
 
 mark_as_advanced (
   SNAPPY_INCLUDE_DIR
-  SNAPPY_STATIC_LIB
+  SNAPPY_SHARED_LIB
   SNAPPY_LIBS
   SNAPPY_LIBRARIES
 )