mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 13:19:23 +08:00
4afc873253
Add new port for the ignition-fuel-tools version 1, part of the Ignition Robotics Libraries (https://ignitionrobotics.org/).
17 lines
540 B
Diff
17 lines
540 B
Diff
diff -r 3276aecbcbb4 -r 33b5d95affd2 cmake/FindIgnCURL.cmake
|
|
--- a/cmake/FindIgnCURL.cmake
|
|
+++ b/cmake/FindIgnCURL.cmake
|
|
@@ -46,6 +46,12 @@
|
|
|
|
# Older versions of curl don't create imported targets, so we will create
|
|
# them here if they have not been provided.
|
|
+ if(TARGET CURL::libcurl AND NOT TARGET curl::curl)
|
|
+ add_library(curl::curl INTERFACE IMPORTED)
|
|
+ set_target_properties(curl::curl PROPERTIES
|
|
+ INTERFACE_LINK_LIBRARIES CURL::libcurl)
|
|
+ endif()
|
|
+
|
|
include(IgnImportTarget)
|
|
|
|
if(NOT TARGET curl::curl)
|