From 94eda9928d10dc7d080357d17d8c7a82e5b9c94a 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/3] include lua51 headers to build properly --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 70966ccae9..c4f3a72afc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,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.55.0