summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2019-01-17 15:23:30 +0100
committerTobias Hunger <tobias.hunger@qt.io>2019-01-18 08:50:59 +0000
commitdb3cc891852823ae022f7c16587187df8573f98f (patch)
treed987a78f3b21045b280f5b01d24511de696bbc1b /util
parent9162aa5da9cd29d1231bf268dcee349b6bc25dd3 (diff)
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>
Diffstat (limited to 'util')
-rwxr-xr-xutil/cmake/pro2cmake.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py
index 33b8ffb6c0..71664869a4 100755
--- a/util/cmake/pro2cmake.py
+++ b/util/cmake/pro2cmake.py
@@ -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):