From ad63ab0a5750beda506934d354f18beeb23aaded Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Tue, 11 Apr 2023 17:53:09 +0900 Subject: [PATCH] Fix path --- cpp/src/gandiva/GandivaConfig.cmake.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpp/src/gandiva/GandivaConfig.cmake.in b/cpp/src/gandiva/GandivaConfig.cmake.in index d8a86a8bb4aff..36e8fa4bb3e0d 100644 --- a/cpp/src/gandiva/GandivaConfig.cmake.in +++ b/cpp/src/gandiva/GandivaConfig.cmake.in @@ -30,15 +30,15 @@ set(ARROW_LLVM_VERSIONS "@ARROW_LLVM_VERSIONS@") include(CMakeFindDependencyMacro) find_dependency(Arrow) -if(ARROW_WITH_ZSTD) - find_dependency(zstdAlt) -endif() if(DEFINED CMAKE_MODULE_PATH) set(GANDIVA_CMAKE_MODULE_PATH_OLD ${CMAKE_MODULE_PATH}) else() unset(GANDIVA_CMAKE_MODULE_PATH_OLD) endif() set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}") +if(ARROW_WITH_ZSTD) + find_dependency(zstdAlt) +endif() find_dependency(LLVMAlt) if(DEFINED GANDIVA_CMAKE_MODULE_PATH_OLD) set(CMAKE_MODULE_PATH ${GANDIVA_CMAKE_MODULE_PATH_OLD})