From d1cf6b91bde2abdf3614380531327ef8fffd129e Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 27 May 2024 10:58:45 +1100 Subject: [PATCH] GH-41755: [C++][ORC] ensure orc version gets set correctly Suggested-By: Sutou Kouhei --- cpp/cmake_modules/FindorcAlt.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp/cmake_modules/FindorcAlt.cmake b/cpp/cmake_modules/FindorcAlt.cmake index 289416678ad39..ce8cd11b4c3f0 100644 --- a/cpp/cmake_modules/FindorcAlt.cmake +++ b/cpp/cmake_modules/FindorcAlt.cmake @@ -71,4 +71,5 @@ if(orcAlt_FOUND) PROPERTIES IMPORTED_LOCATION "${ORC_STATIC_LIB}" INTERFACE_INCLUDE_DIRECTORIES "${ORC_INCLUDE_DIR}") endif() + set(orcAlt_VERSION ${ORC_VERSION}) endif()