diff options
Diffstat (limited to 'CMake/curl-config.cmake.in')
-rw-r--r-- | CMake/curl-config.cmake.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMake/curl-config.cmake.in b/CMake/curl-config.cmake.in index dbe4ed2..056907c 100644 --- a/CMake/curl-config.cmake.in +++ b/CMake/curl-config.cmake.in @@ -33,3 +33,6 @@ endif() include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake") check_required_components("@PROJECT_NAME@") + +# Alias for either shared or static library +add_library(@PROJECT_NAME@::libcurl ALIAS @PROJECT_NAME@::@LIB_SELECTED@) |