Skip to content

Commit 1e90ce2

Browse files
committed
Attempt to fix GLib build issue
Compile entry_points.cc before odbc_api.cc due to conflict from sql.h and flight/types.h.
1 parent d630e2a commit 1e90ce2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ set(ODBC_PACKAGE_VERSION_PATCH "0")
6161
set(ODBC_PACKAGE_NAME "Apache Arrow Flight SQL ODBC")
6262
set(ODBC_PACKAGE_VENDOR "Apache Arrow")
6363

64-
set(ARROW_FLIGHT_SQL_ODBC_SRCS entry_points.cc odbc_api.cc)
64+
# Compile entry_points.cc before odbc_api.cc due to conflict from sql.h and flight/types.h
65+
set(ARROW_FLIGHT_SQL_ODBC_SRCS odbc_api.cc entry_points.cc)
6566

6667
if(WIN32)
6768
set(VER_FILEVERSION

0 commit comments

Comments
 (0)