From 3f0e7f0e127c3e5b8f981f32da000b74c0c50beb Mon Sep 17 00:00:00 2001
From: Joseph Walton-Rivers <joseph@walton-rivers.uk>
Date: Sun, 20 Nov 2022 19:52:40 +0000
Subject: [PATCH] set target include directories, last attempt for ubuntu
 support

---
 integrations/lua/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/integrations/lua/CMakeLists.txt b/integrations/lua/CMakeLists.txt
index e889372..8a026cc 100644
--- a/integrations/lua/CMakeLists.txt
+++ b/integrations/lua/CMakeLists.txt
@@ -2,6 +2,7 @@ add_library(fggl-lua)
 
 find_package(Lua REQUIRED)
 target_link_libraries(fggl-lua PUBLIC ${LUA_LIBRARIES})
+target_include_directories(fggl-lua INTERFACE ${LUA_INCLUDE_DIR})
 
 # Link to FGGL
 target_link_libraries(fggl-lua PUBLIC fggl)
-- 
GitLab