mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-24 21:01:59 +00:00
aedi: support keeping of cmake module targets without namespace
This commit is contained in:
parent
5d7cdb4e37
commit
2d47d70110
1 changed files with 2 additions and 2 deletions
|
@ -462,8 +462,8 @@ class CMakeStaticDependencyTarget(CMakeTarget):
|
|||
|
||||
def keep_module_target(self, state: BuildState, target: str):
|
||||
import_patterns = (
|
||||
r'list\s*\(APPEND\s+_cmake_import_check_targets\s+(?P<target>\w+::[\w-]+)[\s)]',
|
||||
r'list\s*\(APPEND\s+_cmake_import_check_files_for_(?P<target>\w+::[\w-]+)\s',
|
||||
r'list\s*\(APPEND\s+_cmake_import_check_targets\s+(?P<target>[\w:-]+)[\s)]',
|
||||
r'list\s*\(APPEND\s+_cmake_import_check_files_for_(?P<target>[\w:-]+)\s',
|
||||
)
|
||||
import_regexes = [re.compile(regex, re.IGNORECASE) for regex in import_patterns]
|
||||
|
||||
|
|
Loading…
Reference in a new issue