We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 421cca9 commit 6c9e460Copy full SHA for 6c9e460
cmake_modules/IcebergThirdpartyToolchain.cmake
@@ -279,6 +279,15 @@ function(resolve_cpr_dependency)
279
280
fetchcontent_makeavailable(cpr)
281
282
+ if(TARGET cpr)
283
+ get_target_property(CPR_DEPS cpr INTERFACE_LINK_LIBRARIES)
284
+ message(FATAL_ERROR "DEBUG >>> 'cpr' target depends on the following libraries: ==> ${CPR_DEPS} <=="
285
+ )
286
+ else()
287
+ message(FATAL_ERROR "DEBUG >>> Could not find 'cpr' target after FetchContent_MakeAvailable!"
288
289
+ endif()
290
+
291
if(cpr_SOURCE_DIR)
292
set_target_properties(cpr PROPERTIES OUTPUT_NAME "iceberg_vendored_cpr"
293
POSITION_INDEPENDENT_CODE ON)
0 commit comments