Skip to content

FindLua: find lua.h in e.g. CMAKE_INCLUDE_PATH

Alexander Grund requested to merge Flamefire/cmake:lua-fix into master

This Fixes #17999 (closed) by not constraining the search to include/*.

To provide compatibility the foreach-loop is still used. However include/xxx and xxx is now both searched. To find the correct version CMAKE_IGNORE_PATH is used.

Fixes: #17999 (closed)
Topic-rename: FindLua-conventional-paths

Edited by Brad King

Merge request reports