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
# headers # 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 # the fggl library itself
add_library(fggl ${HEADER_LIST}) add_library(fggl ${HEADER_LIST})
...@@ -8,7 +8,7 @@ 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 # we need to tell people using the library about our headers
target_include_directories( fggl target_include_directories( fggl
PUBLIC PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include>
$<INSTALL_INTERFACE: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