summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2023-12-17 20:42:51 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-12-17 20:43:00 (GMT)
commit50e8791f92d02a44f8761968d005a0b88498599d (patch)
treee440eb50da71cc5c30b897c6c58cff9bcdea5517 /Modules
parentb7ad9bd8f33602b63347f6ad2052afff416a886c (diff)
parent04153049700d82fd38b2a8388447e48fd6544e75 (diff)
downloadCMake-50e8791f92d02a44f8761968d005a0b88498599d.zip
CMake-50e8791f92d02a44f8761968d005a0b88498599d.tar.gz
CMake-50e8791f92d02a44f8761968d005a0b88498599d.tar.bz2
Merge topic 'fc-provider-find-package-args'
0415304970 FetchContent: Fix FIND_PACKAGE_ARGS not being passed to dep providers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9080
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FetchContent.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FetchContent.cmake b/Modules/FetchContent.cmake
index d3a17b3..48cdaf4 100644
--- a/Modules/FetchContent.cmake
+++ b/Modules/FetchContent.cmake
@@ -1986,12 +1986,12 @@ macro(FetchContent_MakeAvailable)
# This property might be defined but empty. As long as it is defined,
# find_package() can be called.
get_property(__cmake_addfpargs GLOBAL PROPERTY
- _FetchContent_${contentNameLower}_find_package_args
+ _FetchContent_${__cmake_contentNameLower}_find_package_args
DEFINED
)
if(__cmake_addfpargs)
get_property(__cmake_fpargs GLOBAL PROPERTY
- _FetchContent_${contentNameLower}_find_package_args
+ _FetchContent_${__cmake_contentNameLower}_find_package_args
)
string(APPEND __cmake_providerArgs " FIND_PACKAGE_ARGS")
foreach(__cmake_item IN LISTS __cmake_fpargs)