Skip to content

Commit ab707f5

Browse files
Shrink storage_manager_stub (#5221)
With the recent change to `RestClient`, it's possible to use the object library `context_resources` now in the specification for the object library `storage_manager_stub`. This removes independent compilation, allowing CMake's duplicate object detection to function. --- TYPE: NO_HISTORY DESC: Shrink storage_manager_stub
1 parent dba22b1 commit ab707f5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tiledb/api/c_api/context/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,14 @@ gather_sources(${SOURCES})
3535
list(APPEND OTHER_SOURCES
3636
# We need to recompile sources that depend on StorageManager to use the stub
3737
../../../sm/storage_manager/context.cc
38-
../../../sm/storage_manager/context_resources.cc
3938
)
4039

4140
commence(object_library capi_context_stub)
4241
this_target_sources(${SOURCES} ${OTHER_SOURCES})
4342
this_target_link_libraries(export)
4443
this_target_object_libraries(capi_config_stub)
4544
this_target_object_libraries(storage_manager_stub)
46-
this_target_object_libraries(rest_client stats thread_pool vfs)
45+
this_target_object_libraries(context_resources)
4746
conclude(object_library)
4847

4948
add_test_subdirectory()

0 commit comments

Comments
 (0)