Skip to content

Commit dd69de8

Browse files
committed
fix ci
1 parent cdb5aed commit dd69de8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/iceberg/test/CMakeLists.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ function(add_iceberg_test test_name)
5555
target_link_libraries(${test_name} PRIVATE GTest::gtest_main GTest::gmock)
5656

5757
if("${ICEBERG_TEST_LINKAGE}" STREQUAL "shared")
58-
if (ARG_USE_BUNDLE)
58+
if(ARG_USE_BUNDLE)
5959
target_link_libraries(${test_name} PRIVATE iceberg_bundle_shared)
6060
else()
6161
target_link_libraries(${test_name} PRIVATE iceberg_shared)
6262
endif()
6363
else()
64-
if (ARG_USE_BUNDLE)
64+
if(ARG_USE_BUNDLE)
6565
target_link_libraries(${test_name} PRIVATE iceberg_bundle_static)
6666
else()
6767
target_link_libraries(${test_name} PRIVATE iceberg_static)
@@ -167,9 +167,7 @@ if(ICEBERG_BUILD_BUNDLE)
167167
endif()
168168

169169
if(ICEBERG_BUILD_REST)
170-
add_iceberg_test(rest_catalog_test
171-
SOURCES
172-
rest_catalog_test.cc
170+
add_iceberg_test(rest_catalog_test SOURCES rest_catalog_test.cc
173171
rest_json_internal_test.cc)
174172
if("${ICEBERG_TEST_LINKAGE}" STREQUAL "shared")
175173
target_link_libraries(rest_catalog_test PRIVATE iceberg_rest_shared)

0 commit comments

Comments
 (0)