summaryrefslogtreecommitdiffstats
path: root/CMake/curl-config.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'CMake/curl-config.cmake.in')
-rw-r--r--CMake/curl-config.cmake.in3
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@)