Skip to content

Commit

Permalink
Merge pull request duckdb#9496 from carlopi/fixci
Browse files Browse the repository at this point in the history
Dev: Avoid adding name_extension for extensions with DONT_LINK
  • Loading branch information
Mytherin authored Oct 30, 2023
2 parents a4313e3 + 9399205 commit b578d94
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,10 @@ endfunction()

function(add_extension_dependencies LIBRARY)
foreach(EXT_NAME IN LISTS DUCKDB_EXTENSION_NAMES)
add_dependencies(${LIBRARY} ${EXT_NAME}_extension)
string(TOUPPER ${EXT_NAME} EXTENSION_NAME_UPPERCASE)
if (DUCKDB_EXTENSION_${EXTENSION_NAME_UPPERCASE}_SHOULD_LINK)
add_dependencies(${LIBRARY} ${EXT_NAME}_extension)
endif()
endforeach()
endfunction()

Expand Down

0 comments on commit b578d94

Please sign in to comment.