Fix a warning about using uninitialized variable
This commit is contained in:
parent
50a67393ab
commit
1a24c441a8
1 changed files with 5 additions and 3 deletions
|
|
@ -54,7 +54,9 @@ endfunction()
|
|||
# This code is not supposed to run on build machine, only on target machine.
|
||||
function(init_non_host_target target_name)
|
||||
init_target(${target_name})
|
||||
set_target_properties(${target_name} PROPERTIES
|
||||
OSX_ARCHITECTURES "${DESKTOP_APP_MAC_ARCH}"
|
||||
)
|
||||
if (APPLE)
|
||||
set_target_properties(${target_name} PROPERTIES
|
||||
OSX_ARCHITECTURES "${DESKTOP_APP_MAC_ARCH}"
|
||||
)
|
||||
endif()
|
||||
endfunction()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue