Skip to content

Commit

Permalink
ARROW-73: Support older CMake versions
Browse files Browse the repository at this point in the history
Author: Uwe L. Korn <uwelk@xhochy.com>

Closes #31 from xhochy/arrow-73 and squashes the following commits:

c92ce5c [Uwe L. Korn] ARROW-73: Support older CMake versions
  • Loading branch information
xhochy authored and wesm committed Mar 21, 2016
1 parent c996610 commit 3a99f39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp/cmake_modules/FindGTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ endif ()

if (GTEST_INCLUDE_DIR AND GTEST_LIBRARIES)
set(GTEST_FOUND TRUE)
get_filename_component( GTEST_LIBS ${GTEST_LIBRARIES} DIRECTORY )
get_filename_component( GTEST_LIBS ${GTEST_LIBRARIES} PATH )
set(GTEST_LIB_NAME libgtest)
set(GTEST_STATIC_LIB ${GTEST_LIBS}/${GTEST_LIB_NAME}.a)
set(GTEST_SHARED_LIB ${GTEST_LIBS}/${GTEST_LIB_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX})
Expand Down
2 changes: 1 addition & 1 deletion cpp/cmake_modules/FindParquet.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ endif ()

if (PARQUET_INCLUDE_DIR AND PARQUET_LIBRARIES)
set(PARQUET_FOUND TRUE)
get_filename_component( PARQUET_LIBS ${PARQUET_LIBRARIES} DIRECTORY )
get_filename_component( PARQUET_LIBS ${PARQUET_LIBRARIES} PATH )
set(PARQUET_LIB_NAME libparquet)
set(PARQUET_STATIC_LIB ${PARQUET_LIBS}/${PARQUET_LIB_NAME}.a)
set(PARQUET_SHARED_LIB ${PARQUET_LIBS}/${PARQUET_LIB_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX})
Expand Down

0 comments on commit 3a99f39

Please sign in to comment.