Skip to content

Commit e989fb3

Browse files
pitroukou
authored andcommitted
ARROW-15830: [C++] Ensure target directory exists before running Substrait generation
Closes #12548 from pitrou/ARROW-15830-ubuntu-cpp-bundled Authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
1 parent 6cf79d6 commit e989fb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/cmake_modules/ThirdpartyToolchain.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1651,6 +1651,7 @@ macro(build_substrait)
16511651
set(SUBSTRAIT_LOCAL_DIR ${SOURCE_DIR})
16521652

16531653
set(SUBSTRAIT_CPP_DIR "${CMAKE_CURRENT_BINARY_DIR}/substrait_ep-generated")
1654+
file(MAKE_DIRECTORY ${SUBSTRAIT_CPP_DIR})
16541655

16551656
set(SUBSTRAIT_SUPPRESSED_WARNINGS)
16561657
if(MSVC)

0 commit comments

Comments
 (0)