From 5bbf197bf961a78f01d2003a95183e0a0095374a Mon Sep 17 00:00:00 2001 From: kj16609 Date: Sun, 11 Aug 2024 08:33:48 -0400 Subject: [PATCH] Fixes include files being setup wrong --- modules/helpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/helpers.cmake b/modules/helpers.cmake index 6bdd53b..ba435a3 100644 --- a/modules/helpers.cmake +++ b/modules/helpers.cmake @@ -16,7 +16,7 @@ function(AddFGLExecutable NAME SRC_SOURCES_LOCATION) file(GLOB_RECURSE CPP_SOURCES ${SRC_SOURCES_LOCATION}/**.cpp) file(GLOB_RECURSE HPP_SOURCES ${SRC_SOURCES_LOCATION}/**.hpp) add_executable(${NAME} ${CPP_SOURCES} ${HPP_SOURCES}) - target_include_directories(${NAME} PRIVATE ${HPP_SOURCES}) + target_include_directories(${NAME} PRIVATE ${SRC_SOURCES_LOCATION}) SetFGLFlags(${NAME}) endfunction()