File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -279,15 +279,6 @@ function(resolve_cpr_dependency)
279279
280280 fetchcontent_makeavailable(cpr)
281281
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-
291282 if (cpr_SOURCE_DIR)
292283 set_target_properties (cpr PROPERTIES OUTPUT_NAME "iceberg_vendored_cpr"
293284 POSITION_INDEPENDENT_CODE ON )
@@ -298,13 +289,13 @@ function(resolve_cpr_dependency)
298289 ARCHIVE DESTINATION "${ICEBERG_INSTALL_LIBDIR} "
299290 LIBRARY DESTINATION "${ICEBERG_INSTALL_LIBDIR} " )
300291
301- if (TARGET curl- static )
302- message (STATUS "Found vendored target 'curl-static ', installing it." )
292+ if (TARGET libcurl )
293+ message (STATUS "Found vendored target 'libcurl ', installing it." )
303294 install (TARGETS curl-static
304295 EXPORT iceberg_targets
305296 ARCHIVE DESTINATION "${ICEBERG_INSTALL_LIBDIR} " )
306297 else ()
307- message (WARNING "Could not find vendored target 'curl-static ' to install." )
298+ message (WARNING "Could not find vendored target 'libcurl ' to install." )
308299 endif ()
309300
310301 set (CPR_VENDORED TRUE )
You can’t perform that action at this time.
0 commit comments