mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 19:45:12 +00:00
Meta: Properly ignore targets which don't have a component name
Previously we'd add [component_name-NOTFOUND] sections to the components.ini file for targets which weren't part of a component.
This commit is contained in:
parent
acc1c2b3cb
commit
f70ec7582f
Notes:
sideshowbarker
2024-07-17 05:46:14 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/f70ec7582f Pull-request: https://github.com/SerenityOS/serenity/pull/15610
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ function(export_components_helper file_name current_dir)
|
|||
continue() # Custom properties are not allowed to be set on INTERFACE libraries
|
||||
endif()
|
||||
get_target_property(component_name "${target}" SERENITY_COMPONENT_NAME)
|
||||
if(NOT "${component_name}" STREQUAL "")
|
||||
if(NOT "${component_name}" STREQUAL "" AND NOT "${component_name}" STREQUAL "component_name-NOTFOUND")
|
||||
get_target_property(component_name "${target}" SERENITY_COMPONENT_NAME)
|
||||
get_target_property(component_description "${target}" SERENITY_COMPONENT_DESCRIPTION)
|
||||
get_target_property(component_recommended "${target}" SERENITY_COMPONENT_RECOMMENDED)
|
||||
|
|
Loading…
Add table
Reference in a new issue