From the CMake documentation for the installDir setting: If a relative path is specified, it is calculated relative to the source directory. The CMake Tools extension appears to evaluate this setting ...