From 768a235da4eeb59e2c25c0553d64c1ad9345ad32 Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Tue, 12 May 2026 21:29:07 -0400 Subject: [PATCH] Fix builds when in a submodule --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dd6d9dc..c292b4b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,8 +69,7 @@ install(TARGETS akerror install(FILES "include/akerror.h" DESTINATION "include/") install(FILES ${CMAKE_CURRENT_BINARY_DIR}/akerror.pc DESTINATION "lib/pkgconfig/") - -install(EXPORT akerror +install(EXPORT akerrorTargets FILE akerrorTargets.cmake NAMESPACE akerror:: DESTINATION ${akerror_install_cmakedir}