wgtmac commented on code in PR #635:
URL: https://github.com/apache/iceberg-cpp/pull/635#discussion_r3178277652


##########
example/CMakeLists.txt:
##########
@@ -26,5 +26,5 @@ find_package(iceberg CONFIG REQUIRED)
 
 add_executable(demo_example demo_example.cc)
 
-target_link_libraries(demo_example PRIVATE iceberg::iceberg_bundle_static
-                                           iceberg::iceberg_rest_static)
+target_link_libraries(demo_example PRIVATE iceberg::iceberg_bundle_shared

Review Comment:
   The example now unconditionally links `iceberg::iceberg_bundle_shared` and 
`iceberg::iceberg_rest_shared`, but the project default is 
ICEBERG_BUILD_SHARED=OFF and ICEBERG_BUILD_STATIC=ON. A default static-only 
install exports only the static targets, so configuring the example against 
that package fails at CMake generate with missing 
iceberg::iceberg_bundle_shared.



-- 
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]

Reply via email to