Skip to content

Commit 0cad6f4

Browse files
committed
fix for getting dependency dll files
1 parent e21f616 commit 0cad6f4

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

cpp/src/arrow/flight/sql/odbc/CMakeLists.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,12 @@ message(STATUS "-AL- ARROW_CMAKE_DIR/ARROW_CMAKE_PACKAGE_NAME = ${ARROW_CMAKE_DI
127127
message(STATUS "-AL- CMAKE_RUNTIME_OUTPUT_DIRECTORY = ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
128128
message(STATUS "-AL- BUILD_OUTPUT_ROOT_DIRECTORY = ${BUILD_OUTPUT_ROOT_DIRECTORY}")
129129
message(STATUS "-AL- CMAKE_BUILD_TYPE = ${CMAKE_BUILD_TYPE}")
130+
message(STATUS "-AL- $BUILD_OUTPUT_ROOT_DIRECTORY$CMAKE_BUILD_TYPE = ${BUILD_OUTPUT_ROOT_DIRECTORY}${CMAKE_BUILD_TYPE}")
130131

131-
#install(DIRECTORY ${CMAKE_SOURCE_DIR}/external/bin/
132-
# DESTINATION bin
133-
# FILES_MATCHING
134-
# PATTERN "*.dll")
132+
install(DIRECTORY ${BUILD_OUTPUT_ROOT_DIRECTORY}${CMAKE_BUILD_TYPE}
133+
# DESTINATION ${CMAKE_INSTALL_BINDIR} #-AL- didn't work
134+
DESTINATION bin
135+
FILES_MATCHING
136+
PATTERN "*.dll")
135137

136138
include(CPack)

0 commit comments

Comments
 (0)