From cb52a9aa4e7126e3c67f07bc3d70b2b4dcccf43e Mon Sep 17 00:00:00 2001 From: Carlo Piovesan Date: Fri, 12 Jul 2024 16:43:09 +0200 Subject: [PATCH] Fix cmake for building JSON as loadable extension without DuckDB statically linked in --- extension/json/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/extension/json/CMakeLists.txt b/extension/json/CMakeLists.txt index bec5589e3062..aefc1c3c8a92 100644 --- a/extension/json/CMakeLists.txt +++ b/extension/json/CMakeLists.txt @@ -35,6 +35,7 @@ set(JSON_EXTENSION_FILES build_static_extension(json ${JSON_EXTENSION_FILES}) set(PARAMETERS "-warnings") build_loadable_extension(json ${PARAMETERS} ${JSON_EXTENSION_FILES}) +target_link_libraries(json_loadable_extension duckdb_yyjson) install( TARGETS json_extension