Fixes include files being setup wrong
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user