Skip to content

Commit 61b2b7c

Browse files
committed
fix ci
1 parent 1c917e6 commit 61b2b7c

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)
@@ -168,9 +168,7 @@ if(ICEBERG_BUILD_BUNDLE)
168168
endif()
169169

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

0 commit comments

Comments
 (0)