Skip to content

Commit

Permalink
ARROW-5473: [C++] Fix googletest_ep build failure on windows+ninja
Browse files Browse the repository at this point in the history
Fix proposed by @rip-nsk

Closes #6816 from bkietz/5473-Build-failure-on-googlete

Authored-by: Benjamin Kietzman <bengilgit@gmail.com>
Signed-off-by: Wes McKinney <wesm+git@apache.org>
  • Loading branch information
bkietz authored and wesm committed Apr 3, 2020
1 parent d14e778 commit 3f4f379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ macro(build_gtest)
set(GTEST_CMAKE_CXX_FLAGS "${GTEST_CMAKE_CXX_FLAGS} -DGTEST_CREATE_SHARED_LIBRARY=1")
endif()

set(GTEST_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/googletest_ep-prefix/src/googletest_ep")
set(GTEST_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/googletest_ep-prefix")
set(GTEST_INCLUDE_DIR "${GTEST_PREFIX}/include")

set(_GTEST_RUNTIME_DIR ${BUILD_OUTPUT_ROOT_DIRECTORY})
Expand Down

0 comments on commit 3f4f379

Please sign in to comment.