From b9d703f48aeed5a60bd74d0cc3ecf542eecc99fb Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Tue, 12 May 2026 16:56:55 -0400 Subject: [PATCH] Fix cmake duplicate targets --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 21a3b84..17e0625 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,6 @@ target_include_directories(akstdlib PUBLIC target_link_libraries(akstdlib PUBLIC akerror::akerror) set(main_lib_dest "lib/my_library-${MY_LIBRARY_VERSION}") -install(TARGETS akstdlib EXPORT akstdlib DESTINATION "lib/") install(TARGETS akstdlib EXPORT akstdlibTargets ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} @@ -38,8 +37,6 @@ install(TARGETS akstdlib INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ) -install(EXPORT akstdlib FILE akstdlibTargets.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/akstdlib) - install(FILES "include/akstdlib.h" DESTINATION "include/") install(FILES ${CMAKE_CURRENT_BINARY_DIR}/akstdlib.pc DESTINATION "lib/pkgconfig/")