mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Modules: Check for ARGC before using ARGV#
ARGV# could be defined from a parent scope.
This commit is contained in:
committed by
Brad King
parent
4efef3f775
commit
a7631fc4e0
@@ -457,7 +457,11 @@ endfunction()
|
||||
|
||||
|
||||
function(set_bundle_key_values keys_var context item exepath dirs copyflag)
|
||||
set(rpaths "${ARGV6}")
|
||||
if(ARGC GREATER 6)
|
||||
set(rpaths "${ARGV6}")
|
||||
else()
|
||||
set(rpaths "")
|
||||
endif()
|
||||
get_filename_component(item_name "${item}" NAME)
|
||||
|
||||
get_item_key("${item}" key)
|
||||
|
||||
Reference in New Issue
Block a user