Skip to content
Snippets Groups Projects
Commit d98f247c authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

fix include paths

parent c030544b
No related branches found
No related tags found
No related merge requests found
Pipeline #3315 failed
# headers
file(GLOB_RECURSE HEADER_LIST CONFIGURE_DEPENDS "${fggl_SOURCE_DIR}/include/fggl/*.hpp" )
file(GLOB_RECURSE HEADER_LIST CONFIGURE_DEPENDS "${CMAKE_SOURCE_DIR}/include/fggl/**.hpp" )
# the fggl library itself
add_library(fggl ${HEADER_LIST})
......@@ -8,7 +8,7 @@ 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>
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment