diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 42a839d50e6b..94379d38f434 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -302,6 +302,7 @@ target_include_directories( target_link_libraries(tiledb_unit PUBLIC TILEDB_CORE_OBJECTS_ILIB + TILEDB_CORE_OBJECTS Catch2::Catch2 tiledb_test_support_lib ) diff --git a/tiledb/api/c_api/array/test/CMakeLists.txt b/tiledb/api/c_api/array/test/CMakeLists.txt index 9e7805c294a6..ebd617387ae8 100644 --- a/tiledb/api/c_api/array/test/CMakeLists.txt +++ b/tiledb/api/c_api/array/test/CMakeLists.txt @@ -30,7 +30,6 @@ find_package(Catch_EP REQUIRED) # #TODO: link only against a new CAPI array handle, not all core objects add_executable( unit_capi_array EXCLUDE_FROM_ALL - $ ) target_link_libraries(unit_capi_array @@ -38,6 +37,7 @@ target_link_libraries(unit_capi_array Catch2::Catch2WithMain export TILEDB_CORE_OBJECTS_ILIB + TILEDB_CORE_OBJECTS ) # Sources for tests diff --git a/tiledb/sm/array/test/CMakeLists.txt b/tiledb/sm/array/test/CMakeLists.txt index 62b222de11ea..6ef9982394d6 100644 --- a/tiledb/sm/array/test/CMakeLists.txt +++ b/tiledb/sm/array/test/CMakeLists.txt @@ -33,6 +33,6 @@ conclude(unit_test) commence(unit_test consistency) this_target_sources(main.cc unit_consistency.cc) - this_target_sources($) + this_target_link_libraries(TILEDB_CORE_OBJECTS) this_target_link_libraries(TILEDB_CORE_OBJECTS_ILIB) conclude(unit_test) diff --git a/tiledb/sm/subarray/test/CMakeLists.txt b/tiledb/sm/subarray/test/CMakeLists.txt index c3d243a50d95..843a552ffb79 100644 --- a/tiledb/sm/subarray/test/CMakeLists.txt +++ b/tiledb/sm/subarray/test/CMakeLists.txt @@ -33,7 +33,7 @@ conclude(unit_test) commence(unit_test add_ranges_list) this_target_sources(main.cc unit_add_ranges_list.cc) - this_target_link_libraries($) + this_target_link_libraries(TILEDB_CORE_OBJECTS) this_target_link_libraries(tiledb_test_support_lib) target_include_directories(unit_add_ranges_list PRIVATE "$") diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 3a55d9147108..218e238029e6 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -35,7 +35,6 @@ add_executable(tiledb EXCLUDE_FROM_ALL src/commands/help_command.cc src/commands/info_command.cc src/main/tiledb.cc - $ ) # List of all tool targets @@ -45,6 +44,7 @@ set(TILEDB_TOOLS tiledb) foreach(TOOL ${TILEDB_TOOLS}) target_link_libraries(${TOOL} PRIVATE TILEDB_CORE_OBJECTS_ILIB + TILEDB_CORE_OBJECTS clipp::clipp ) target_include_directories(${TOOL} PRIVATE