Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 16.0.2
Description
If a CMakeLists.txt file has an error in an `install` directive then cmake will emit a path to the generated install file; however, the path is relative to the cmake binary directory.
The hyperlink created by Qt Creator (in the Compile Output pane) is assumed to be relative to the source directory, and thus does not work.
Sample CMakeLists.txt:
cmake_minimum_required(VERSION 3.20)
project(qtc_inst)
install(
FILES
missing.txt
DESTINATION
.
)