diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/Findc-ares.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/Findc-ares.cmake b/cmake/modules/Findc-ares.cmake index 1e26c5c1c0f..56311c7c3eb 100644 --- a/cmake/modules/Findc-ares.cmake +++ b/cmake/modules/Findc-ares.cmake @@ -22,7 +22,7 @@ find_package_handle_standard_args(c-ares VERSION_VAR c-ares_VERSION) if(c-ares_FOUND AND NOT (TARGET c-ares::cares)) - add_library(c-ares::cares UNKNOWN IMPORTED) + add_library(c-ares::cares UNKNOWN IMPORTED GLOBAL) set_target_properties(c-ares::cares PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${c-ares_INCLUDE_DIR}" IMPORTED_LINK_INTERFACE_LANGUAGES "C" |