summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-06-04 16:11:21 (GMT)
committerBrad King <brad.king@kitware.com>2019-06-04 16:11:21 (GMT)
commit0eeb3690d1a65fbc864960e59f3cd43bcdae3a9a (patch)
tree418efc76013b74715e05cc44b26de65213e84db4
parent9d78ce02933cd913af3da66a23e8ada09db89e3e (diff)
parent0da2c35d6bf0741ce91c682414b56fdca83160d8 (diff)
downloadCMake-0eeb3690d1a65fbc864960e59f3cd43bcdae3a9a.zip
CMake-0eeb3690d1a65fbc864960e59f3cd43bcdae3a9a.tar.gz
CMake-0eeb3690d1a65fbc864960e59f3cd43bcdae3a9a.tar.bz2
Merge branch 'GetPrerequisites-variable-typo' into release-3.15
Merge-request: !3421
-rw-r--r--Modules/GetPrerequisites.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GetPrerequisites.cmake b/Modules/GetPrerequisites.cmake
index 06655a4..5be4676 100644
--- a/Modules/GetPrerequisites.cmake
+++ b/Modules/GetPrerequisites.cmake
@@ -173,7 +173,7 @@ cmake_policy(PUSH)
cmake_policy(SET CMP0057 NEW) # if IN_LIST
function(gp_append_unique list_var value)
- if(NOT item IN_LIST ${list_var})
+ if(NOT value IN_LIST ${list_var})
set(${list_var} ${${list_var}} "${value}" PARENT_SCOPE)
endif()
endfunction()