CMake: pro2cmake.py: Resolve file names for RESOURCES

Change-Id: I821cdc88c7f45260997e118ab2abfd7ba6526b75
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Tobias Hunger 2019-01-23 12:56:11 +01:00
parent 0a9e5e139a
commit 404d0b5975

View File

@ -259,7 +259,7 @@ class Scope:
value = statement.get('value', []) value = statement.get('value', [])
assert key != '' assert key != ''
if key in ('HEADERS', 'SOURCES', 'INCLUDEPATH') \ if key in ('HEADERS', 'SOURCES', 'INCLUDEPATH', 'RESOURCES',) \
or key.endswith('_HEADERS') \ or key.endswith('_HEADERS') \
or key.endswith('_SOURCES'): or key.endswith('_SOURCES'):
value = [map_to_file(v, scope.basedir(), value = [map_to_file(v, scope.basedir(),