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

attempt to fix include paths

parent 848bc0d9
No related branches found
No related tags found
No related merge requests found
# 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
......
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