alinaliBQ commented on code in PR #48577:
URL: https://github.com/apache/arrow/pull/48577#discussion_r2677193480


##########
ci/scripts/cpp_build.sh:
##########
@@ -259,7 +259,7 @@ else
     -DCMAKE_BUILD_TYPE=${ARROW_BUILD_TYPE:-debug} \
     -DCMAKE_VERBOSE_MAKEFILE=${CMAKE_VERBOSE_MAKEFILE:-OFF} \
     -DCMAKE_C_FLAGS="${CFLAGS:-}" \
-    -DCMAKE_CXX_FLAGS="${CXXFLAGS:-}" \
+    -DCMAKE_CXX_FLAGS="${CXXFLAGS:-} -I${ODBC_INCLUDE_DIR:-} 
-L${ODBC_LIB_DIR:-}" \
     -DCMAKE_CXX_STANDARD="${CMAKE_CXX_STANDARD:-20}" \

Review Comment:
   Hi @kou, is it ok to use `ARROW_CMAKE_ARGS+="-I${ODBC_INCLUDE_DIR:-}"` in 
`cpp_build.sh`? I was looking for other examples inside arrow to pass the `-I` 
flag but most examples are inside `COMMAND`.
   
   Our team has tried passing `-DODBC_ROOT` and it didn't resolve the header 
issue.
   cc @justing-bq 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to