From c030544b06c43d8d1f81c286eeb794a16a5bb67f Mon Sep 17 00:00:00 2001
From: Joseph Walton-Rivers <joseph@walton-rivers.uk>
Date: Thu, 21 Apr 2022 15:18:17 +0100
Subject: [PATCH] attempt to fix include paths

---
 fggl/CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/fggl/CMakeLists.txt b/fggl/CMakeLists.txt
index db82229..9d1e65d 100644
--- a/fggl/CMakeLists.txt
+++ b/fggl/CMakeLists.txt
@@ -1,6 +1,6 @@
 
 # headers
-file(GLOB HEADER_LIST CONFIGURE_DEPENDS "${fggl_SOURCE_DIR}/include/fggl/*.hpp" )
+file(GLOB_RECURSE HEADER_LIST CONFIGURE_DEPENDS "${fggl_SOURCE_DIR}/include/fggl/*.hpp" )
 
 # the fggl library itself
 add_library(fggl ${HEADER_LIST})
@@ -8,8 +8,8 @@ add_library(fggl ${HEADER_LIST})
 # we need to tell people using the library about our headers
 target_include_directories( fggl
 	PUBLIC
-	  $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/fggl>
-	  $<INSTALL_INTERFACE:include/fggl>
+	  $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
+	  $<INSTALL_INTERFACE:include>
 )
 
 # users of this library need at least C++17
-- 
GitLab