From 3c5e28d6459731ad523670164b74dbf3d3c2ed4d Mon Sep 17 00:00:00 2001 From: Jan Kumor Date: Sun, 29 Dec 2024 21:51:18 -0500 Subject: [PATCH] use CMAKE_CURRENT_BINARY_DIR in LINKED_LIBS path to make extension_config.cmake work cross platform Co-authored-by: Damon P. Cortesi --- extension_config.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension_config.cmake b/extension_config.cmake index 46ee268..100287e 100644 --- a/extension_config.cmake +++ b/extension_config.cmake @@ -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