CMake: Fix include path handling in pro2cmake.py
Change-Id: Ice9db97db5bf1fb347bff07bcaf91daac87fa983 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
9162aa5da9
commit
db3cc89185
@ -853,8 +853,7 @@ def generate_cmakelists(scope: Scope) -> None:
|
||||
def do_include(scope: Scope, *, debug: bool = False) -> None:
|
||||
for i in scope.getIncludes():
|
||||
dir = scope.basedir()
|
||||
include_file = map_to_file(i, dir, scope.currentdir(),
|
||||
want_absolute_path=True)
|
||||
include_file = i
|
||||
if not include_file:
|
||||
continue
|
||||
if not os.path.isfile(include_file):
|
||||
|
Loading…
x
Reference in New Issue
Block a user