From 35f7cbaf1f4efc4742dcc931acd125ad3ff0e8e4 Mon Sep 17 00:00:00 2001 From: James Duong Date: Thu, 11 Jan 2024 14:00:23 -0800 Subject: [PATCH] Archery linting on CMake files --- java/adapter/orc/CMakeLists.txt | 3 +-- java/c/CMakeLists.txt | 3 +-- java/dataset/CMakeLists.txt | 2 +- java/gandiva/CMakeLists.txt | 3 +-- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/java/adapter/orc/CMakeLists.txt b/java/adapter/orc/CMakeLists.txt index d4cafd241fb35..c1f57eb880872 100644 --- a/java/adapter/orc/CMakeLists.txt +++ b/java/adapter/orc/CMakeLists.txt @@ -37,8 +37,7 @@ set_property(TARGET arrow_java_jni_orc PROPERTY OUTPUT_NAME "arrow_orc_jni") target_link_libraries(arrow_java_jni_orc arrow_java_jni_orc_headers jni Arrow::arrow_static) -set(CMAKE_INSTALL_LIBDIR - "${CMAKE_INSTALL_PREFIX}/lib/arrow_orc_jni/${CMAKE_ARCH_DIR}") +set(CMAKE_INSTALL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib/arrow_orc_jni/${CMAKE_ARCH_DIR}") install(TARGETS arrow_java_jni_orc LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} diff --git a/java/c/CMakeLists.txt b/java/c/CMakeLists.txt index 0c5f1488fdc97..9ae1b31be2d86 100644 --- a/java/c/CMakeLists.txt +++ b/java/c/CMakeLists.txt @@ -30,8 +30,7 @@ add_library(arrow_java_jni_cdata SHARED src/main/cpp/jni_wrapper.cc) set_property(TARGET arrow_java_jni_cdata PROPERTY OUTPUT_NAME "arrow_cdata_jni") target_link_libraries(arrow_java_jni_cdata arrow_java_jni_cdata_headers jni) -set(CMAKE_INSTALL_LIBDIR - "${CMAKE_INSTALL_PREFIX}/lib/arrow_cdata_jni/${CMAKE_ARCH_DIR}") +set(CMAKE_INSTALL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib/arrow_cdata_jni/${CMAKE_ARCH_DIR}") install(TARGETS arrow_java_jni_cdata LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} diff --git a/java/dataset/CMakeLists.txt b/java/dataset/CMakeLists.txt index 4c40e9fad2e13..620dfb10b27aa 100644 --- a/java/dataset/CMakeLists.txt +++ b/java/dataset/CMakeLists.txt @@ -48,7 +48,7 @@ if(BUILD_TESTING) endif() set(CMAKE_INSTALL_LIBDIR - "${CMAKE_INSTALL_PREFIX}/lib/arrow_dataset_jni/${CMAKE_ARCH_DIR}") + "${CMAKE_INSTALL_PREFIX}/lib/arrow_dataset_jni/${CMAKE_ARCH_DIR}") install(TARGETS arrow_java_jni_dataset LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} diff --git a/java/gandiva/CMakeLists.txt b/java/gandiva/CMakeLists.txt index 0de71d5531072..84147e58dba1d 100644 --- a/java/gandiva/CMakeLists.txt +++ b/java/gandiva/CMakeLists.txt @@ -84,8 +84,7 @@ if(CXX_LINKER_SUPPORTS_VERSION_SCRIPT) ) endif() -set(CMAKE_INSTALL_LIBDIR - "${CMAKE_INSTALL_PREFIX}/lib/gandiva_jni/${CMAKE_ARCH_DIR}") +set(CMAKE_INSTALL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib/gandiva_jni/${CMAKE_ARCH_DIR}") install(TARGETS arrow_java_jni_gandiva LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}