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 12463d6 commit 3ea7c4fCopy full SHA for 3ea7c4f
cmake_modules/IcebergThirdpartyToolchain.cmake
@@ -273,6 +273,16 @@ function(resolve_cpr_dependency)
273
RUNTIME DESTINATION "${ICEBERG_INSTALL_BINDIR}"
274
ARCHIVE DESTINATION "${ICEBERG_INSTALL_LIBDIR}"
275
LIBRARY DESTINATION "${ICEBERG_INSTALL_LIBDIR}")
276
+
277
+ if(TARGET curl-static)
278
+ message(STATUS "Found vendored target 'curl-static', installing it.")
279
+ install(TARGETS curl-static
280
+ EXPORT iceberg_targets
281
+ ARCHIVE DESTINATION "${ICEBERG_INSTALL_LIBDIR}")
282
+ else()
283
+ message(WARNING "Could not find vendored target 'curl-static' to install.")
284
+ endif()
285
286
set(CPR_VENDORED TRUE)
287
else()
288
set(CPR_VENDORED FALSE)
0 commit comments