From 121e60b958a563b483cb33d6c0ca89cb5e0d7101 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 8 Aug 2023 13:03:58 +0000 Subject: [PATCH] cmake: fix to use variable for the curl namespace Replace (wrong) literal with a variable to specify the curl namespace. Follow-up to 1199308dbc902c52be67fc805c72dd2582520d30 #11505 Reported-by: balikalina on Github Fixes https://github.com/curl/curl/commit/1199308dbc902c52be67fc805c72dd2582520d30#r123923098 Closes #11629 --- CMake/curl-config.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/curl-config.cmake.in b/CMake/curl-config.cmake.in index e76d0d64f..056907c4f 100644 --- a/CMake/curl-config.cmake.in +++ b/CMake/curl-config.cmake.in @@ -35,4 +35,4 @@ include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake") check_required_components("@PROJECT_NAME@") # Alias for either shared or static library -add_library(curl::libcurl ALIAS curl::@LIB_SELECTED@) +add_library(@PROJECT_NAME@::libcurl ALIAS @PROJECT_NAME@::@LIB_SELECTED@)