File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -1611,19 +1611,20 @@ function (basis_finalize_targets)
16111611 endforeach ()
16121612 else ()
16131613 basis_get_project_property (TARGETS PROPERTY TARGETS)
1614+ if (NOT TARGETS)
1615+ return ()
1616+ endif ()
16141617 # targets of BASIS utilities are finalized separately
16151618 # because some properties still have to be set by
16161619 # basis_configure_utilities, see UtilitiesTools module
16171620 basis_make_target_uid (TARGET_UID_basis_sh basis_sh)
16181621 basis_make_target_uid (TARGET_UID_basis_py basis_py)
16191622 basis_make_target_uid (TARGET_UID_Basis_pm Basis_pm)
1620- if (TARGETS)
1621- list (REMOVE_ITEM TARGETS
1622- ${TARGET_UID_basis_sh}
1623- ${TARGET_UID_basis_py}
1624- ${TARGET_UID_Basis_pm}
1625- )
1626- endif ()
1623+ list (REMOVE_ITEM TARGETS
1624+ ${TARGET_UID_basis_sh}
1625+ ${TARGET_UID_basis_py}
1626+ ${TARGET_UID_Basis_pm}
1627+ )
16271628 endif ()
16281629 basis_get_project_property (FINALIZED_TARGETS PROPERTY FINALIZED_TARGETS)
16291630 if (FINALIZED_TARGETS)
You can’t perform that action at this time.
0 commit comments