Skip to content

Commit 7cd9679

Browse files
authored
Merge branch 'main' into saumya/conn_implementation
2 parents 896f34d + fbc31a4 commit 7cd9679

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

mssql_python/pybind/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,13 @@ execute_process(
9090
)
9191

9292
# Add module library
93-
add_library(ddbc_bindings MODULE ddbc_bindings.cpp)
93+
add_library(ddbc_bindings MODULE ddbc_bindings.cpp connection/connection.cpp)
94+
95+
# Add include directories for your project
96+
target_include_directories(ddbc_bindings PRIVATE
97+
${CMAKE_CURRENT_SOURCE_DIR} # Root directory (for ddbc_bindings.h)
98+
${CMAKE_CURRENT_SOURCE_DIR}/connection # connection directory (for connection.h)
99+
)
94100

95101
# Set the output name to include Python version and architecture
96102
set_target_properties(ddbc_bindings PROPERTIES

0 commit comments

Comments
 (0)