HuaHuaY commented on code in PR #337:
URL: https://github.com/apache/iceberg-cpp/pull/337#discussion_r2548884443
##########
src/iceberg/test/CMakeLists.txt:
##########
@@ -52,12 +52,20 @@ function(add_iceberg_test test_name)
target_sources(${test_name} PRIVATE ${ARG_SOURCES})
- if(ARG_USE_BUNDLE)
- target_link_libraries(${test_name} PRIVATE iceberg_bundle_static
GTest::gtest_main
- GTest::gmock)
+ target_link_libraries(${test_name} PRIVATE GTest::gtest_main GTest::gmock)
+
+ if("${ICEBERG_TEST_LINKAGE}" STREQUAL "shared")
Review Comment:
I just follow the cmakelist file in arrow
https://github.com/apache/arrow/blob/main/cpp/cmake_modules/DefineOptions.cmake#L249
Both are fine for me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]