- Commit
- 242e277a661ec7e51f34dcaf86c1925d550b1498
- Parent
- 14622a194c2f640fb6b6e8edbfe9ec5bf9aecfd1
- Author
- Saleem Abdulrasool <compnerd@compnerd.org>
- Date
build: substitute the path into the generate files
This resorts to the variable substitution to ensure the path embedded is
correct. Without this, the path at the time of the configuration. In
the case of the Swift project, this ended up searching in the *source*
directory rather than the *build* directory. This will ensure that we
export the file to an absolute location and we use the same location in
the `cmarkConfig.cmake` file by means of CMake's `configure_file`
subsitution.