From 99ffc935eff564bdcc7cea91332057f9ae0828a4 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Tue, 3 Oct 2023 19:20:14 -0600 Subject: [PATCH] Lagom: Include all generated installed files on library targets Do this with INSTALL_INTERFACE genex include directory rules. We should really standardize where the generated headers *actually* get installed to though. --- Meta/Lagom/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt index 5652fdbebf..b4990c22ea 100644 --- a/Meta/Lagom/CMakeLists.txt +++ b/Meta/Lagom/CMakeLists.txt @@ -224,6 +224,12 @@ function(lagom_lib target_name fs_name) if (NOT ${target_name} STREQUAL "LibCore") target_link_libraries(${target_name} PRIVATE LibCore) endif() + # FIXME: Clean these up so that we don't need so many include dirs + target_include_directories(${target_name} INTERFACE + $ + $ + $ + ) install( TARGETS ${target_name} EXPORT LagomTargets