From a1ffaae2f304c58c14cc111dd7c9b72efd392dd3 Mon Sep 17 00:00:00 2001 From: Chris Haumesser <5400416-wryfi@users.noreply.gitlab.com> Date: Wed, 7 Aug 2024 16:41:39 -0700 Subject: [PATCH 2/2] include lua51 headers to build properly --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b89b6b606..21d98c52a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,8 @@ if(XCODE) message(FATAL_ERROR [[Xcode generator is not supported. Use "Ninja" or "Unix Makefiles" instead]]) endif() +include_directories(BEFORE @PREFIX@/include/lua5.1) + # Point CMake at any custom modules we may ship list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake") -- 2.48.0