Skip to content

Commit

Permalink
use CMAKE_CURRENT_BINARY_DIR in LINKED_LIBS path to make extension_co…
Browse files Browse the repository at this point in the history
…nfig.cmake work cross platform

Co-authored-by: Damon P. Cortesi <[email protected]>
  • Loading branch information
akumor and dacort authored Dec 30, 2024
1 parent 3bec742 commit 3c5e28d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
duckdb_extension_load(athena
SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}
LOAD_TESTS
LINKED_LIBS "../../cargo/build/x86_64-unknown-linux-gnu/release/libduckdb_athena.a"
LINKED_LIBS "${CMAKE_CURRENT_BINARY_DIR}/libduckdb_athena.a"
)

# Any extra extensions that should be built
Expand Down

0 comments on commit 3c5e28d

Please sign in to comment.