Commit 0a68c30b authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'GetPrerequisites-variable-typo'

0da2c35d GetPrerequisites: fix regression in gp_append_unique
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !3421
parents 98004612 0da2c35d
Pipeline #138464 passed with stage
in 0 seconds
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment