diff options
author | Craig Scott <craig.scott@crascit.com> | 2023-12-17 20:42:51 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-12-17 20:43:00 (GMT) |
commit | 50e8791f92d02a44f8761968d005a0b88498599d (patch) | |
tree | e440eb50da71cc5c30b897c6c58cff9bcdea5517 /Modules | |
parent | b7ad9bd8f33602b63347f6ad2052afff416a886c (diff) | |
parent | 04153049700d82fd38b2a8388447e48fd6544e75 (diff) | |
download | CMake-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.cmake | 4 |
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) |