Skip to content
Snippets Groups Projects

[latex][bugfix][win32][cmake] ignore CMAKE_FIND_ROOT_PATH for latexmkrc.cmake

Merged Christian Engwer requested to merge fix-cmake-latexmk into master

When cross compiling for windows it is necessary to tweak CMAKE_FIND_ROOT_PATH_MODE_* to modify default behavior of FIND_XXX() commands to search for headers/libs in the target environment and search for programs in the build host environment.

This lead to a problem when searching for latexmkrc.cmake.

We now explicitly change the UseLatexMk find_file call to ignore the CMAKE_FIND_ROOT_PATH and thus beeing able to find the file in the source directory.

@gruenich can we backport this to 2.7?

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading