From: Viktor Szakats Date: Tue, 8 Aug 2023 13:03:58 +0000 (+0000) Subject: cmake: fix to use variable for the curl namespace X-Git-Tag: curl-8_3_0~179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=121e60b958a563b483cb33d6c0ca89cb5e0d7101;p=thirdparty%2Fcurl.git 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 --- diff --git a/CMake/curl-config.cmake.in b/CMake/curl-config.cmake.in index e76d0d64fc..056907c4f9 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@)