Skip to content

Commit

Permalink
Do not install static libraries when TILEDB_INSTALL_STATIC_DEPS is …
Browse files Browse the repository at this point in the history
…not enabled. (#4244)
  • Loading branch information
teo-tsirpanis authored Aug 7, 2023
1 parent 3dd0d97 commit 9f0c130
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/Modules/TileDBCommon.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ endfunction()
# manifest.
#
function(install_target_libs LIB_TARGET)
if (NOT TILEDB_INSTALL_STATIC_DEPS)
return()
endif()
get_imported_location(TARGET_LIBRARIES ${LIB_TARGET})
if (TARGET_LIBRARIES MATCHES "NOTFOUND")
message(FATAL_ERROR "Could not determine library location for ${LIB_TARGET}")
Expand Down

0 comments on commit 9f0c130

Please sign in to comment.