Skip to content

Commit 661809e

Browse files
committed
fix public issue with package in cmake
1 parent 8c299b8 commit 661809e

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

CMakeLists.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,13 @@ target_include_directories(databricks_sdk
170170
)
171171

172172
# Link ODBC libraries
173-
target_link_libraries(databricks_sdk PRIVATE
174-
${ODBC_LIBRARIES}
175-
spdlog::spdlog
176-
CURL::libcurl
177-
nlohmann_json::nlohmann_json
173+
target_link_libraries(databricks_sdk
174+
PRIVATE
175+
${ODBC_LIBRARIES}
176+
spdlog::spdlog
177+
CURL::libcurl
178+
PUBLIC
179+
nlohmann_json::nlohmann_json
178180
)
179181

180182
# Set library properties

0 commit comments

Comments
 (0)