Skip to content

Commit

Permalink
Explicit in turbodbc_arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
xhochy committed Aug 26, 2024
1 parent be5f14f commit 8be3f27
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions cpp/turbodbc_arrow/Library/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
file(GLOB_RECURSE LIBRARY_FILES "src/*.cpp")

# We need to disable LTO on Arrow builds
pybind11_add_module(turbodbc_arrow_support SHARED ${LIBRARY_FILES} NO_EXTRAS)
pybind11_add_module(turbodbc_arrow_support SHARED
src/arrow_result_set.cpp
src/python_bindings.cpp
src/set_arrow_parameters.cpp
NO_EXTRAS)

set_target_properties(turbodbc_arrow_support PROPERTIES
PREFIX ""
INSTALL_RPATH "../../.."
)

add_dependencies(turbodbc_arrow_support
refresh_cmake_configuration
)

target_link_libraries(turbodbc_arrow_support
PUBLIC ${Boost_LIBRARIES}
PUBLIC ${Odbc_LIBRARIES}
Expand Down

0 comments on commit 8be3f27

Please sign in to comment.