Blame SOURCES/0005-cmake_modules-FindLZ4.cmake.patch

20b247
--- orc-rel-release-1.6.6/cmake_modules/FindLZ4.cmake.orig	2021-09-15 13:52:14.544322930 -0400
20b247
+++ orc-rel-release-1.6.6/cmake_modules/FindLZ4.cmake	2021-09-15 13:52:31.791036461 -0400
20b247
@@ -14,7 +14,7 @@
20b247
 
20b247
 # LZ4_INCLUDE_DIR: directory containing headers
20b247
 # LZ4_LIBS: directory containing LZ4 libraries
20b247
-# LZ4_STATIC_LIB: path to lz4.a
20b247
+# LZ4_SHARED_LIB: path to lz4.a
20b247
 # LZ4_FOUND: whether LZ4 has been found
20b247
 
20b247
 if( NOT "${LZ4_HOME}" STREQUAL "")
20b247
@@ -38,14 +38,14 @@
20b247
   set (LZ4_HEADER_NAME lz4.h)
20b247
   set (LZ4_HEADER ${LZ4_INCLUDE_DIR}/${LZ4_HEADER_NAME})
20b247
   set (LZ4_LIB_NAME lz4)
20b247
-  set (LZ4_STATIC_LIB ${LZ4_LIBS}/${CMAKE_STATIC_LIBRARY_PREFIX}${LZ4_LIB_NAME}${CMAKE_STATIC_LIBRARY_SUFFIX})
20b247
+  set (LZ4_SHARED_LIB ${LZ4_LIBS}/${CMAKE_SHARED_LIBRARY_PREFIX}${LZ4_LIB_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX})
20b247
 else ()
20b247
   set (LZ4_FOUND FALSE)
20b247
 endif ()
20b247
 
20b247
 if (LZ4_FOUND)
20b247
   message (STATUS "Found the LZ4 header: ${LZ4_HEADER}")
20b247
-  message (STATUS "Found the LZ4 library: ${LZ4_STATIC_LIB}")
20b247
+  message (STATUS "Found the LZ4 library: ${LZ4_SHARED_LIB}")
20b247
 else()
20b247
   if (_lz4_path)
20b247
     set (LZ4_ERR_MSG "Could not find LZ4. Looked in ${_lz4_path}.")
20b247
@@ -62,7 +62,7 @@
20b247
 
20b247
 mark_as_advanced (
20b247
   LZ4_INCLUDE_DIR
20b247
-  LZ4_STATIC_LIB
20b247
+  LZ4_SHARED_LIB
20b247
   LZ4_LIBS
20b247
   LZ4_LIBRARIES
20b247
 )