https://bugs.kde.org/show_bug.cgi?id=360854
Bug ID: 360854
Summary: Wrong file opened when double clicking on CMake error
in outputview
Product: kdevelop
Version: git master
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Output Views
Assignee: [email protected]
Reporter: [email protected]
I discovered that some CMake errors would just open an empty editor whenever I
double clicked on it. It turns out that this happens whenever the error is
reported with a relative path because this path is interpreted relative to the
build dir and not the source dir:
CMake Error at foo/bar/CMakeLists.txt:27 (target_link_librariess):
Unknown CMake command "target_link_librariess".
This will open foo/bar/CMakeLists.txt in the build dir which doesn't exist so I
get an empty editor instead.
Should be an easy fix but I couldn't find the outputview file opening code in a
quick search.
Reproducible: Always
--
You are receiving this mail because:
You are watching all bug changes.