@@ -37,11 +37,6 @@ if ("$ENV{CMAKE_EXPORT_COMPILE_COMMANDS}" STREQUAL "1")
3737 set (CMAKE_EXPORT_COMPILE_COMMANDS 1)
3838endif ()
3939
40- if (APPLE )
41- # In newer versions of CMake, this is the default setting
42- set (CMAKE_MACOSX_RPATH 1)
43- endif ()
44-
4540find_program (CCACHE_FOUND ccache )
4641if (CCACHE_FOUND)
4742 set_property (GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache )
@@ -344,7 +339,7 @@ if(ARROW_BUILD_TESTS)
344339 find_package (GTest REQUIRED )
345340 include_directories (SYSTEM ${GTEST_INCLUDE_DIR} )
346341 ADD_THIRDPARTY_LIB (gtest
347- STATIC_LIB ${GTEST_STATIC_LIB} )
342+ STATIC_LIB ${GTEST_STATIC_LIB} )
348343endif ()
349344
350345## Google PerfTools
@@ -369,7 +364,7 @@ endif()
369364############################################################
370365# Linker setup
371366############################################################
372- set (ARROW_MIN_TEST_LIBS arrow arrow_test_main arrow_test_util ${ARROW_BASE_LIBS} )
367+ set (ARROW_MIN_TEST_LIBS arrow arrow_test_main ${ARROW_BASE_LIBS} )
373368set (ARROW_TEST_LINK_LIBS ${ARROW_MIN_TEST_LIBS} )
374369
375370############################################################
@@ -469,13 +464,13 @@ if (APPLE)
469464 set_target_properties(arrow
470465 PROPERTIES
471466 BUILD_WITH_INSTALL_RPATH ON
472- INSTALL_NAME_DIR " @rpath "
473- )
467+ INSTALL_NAME_DIR " @rpath ")
474468endif()
475469
476470set_target_properties(arrow
477471 PROPERTIES
478- LIBRARY_OUTPUT_DIRECTORY " ${BUILD_OUTPUT_ROOT_DIRECTORY} ")
472+ LIBRARY_OUTPUT_DIRECTORY " ${BUILD_OUTPUT_ROOT_DIRECTORY} "
473+ )
479474target_link_libraries(arrow ${LIBARROW_LINK_LIBS} )
480475
481476add_subdirectory(src/arrow)
0 commit comments