From 28416c994f564c50cd9353168a3d7e5f0f959867 Mon Sep 17 00:00:00 2001 From: Adam Novak Date: Fri, 29 Aug 2025 19:25:46 -0400 Subject: [PATCH] Make libhandlegraph responsible for its own aliases, capitalize our alias, and add a static lib alias --- CMakeLists.txt | 6 ++---- deps/libhandlegraph | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f764bfc..020b084 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,9 +104,6 @@ else () add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/deps/libhandlegraph") endif() -add_library(libhandlegraph::handlegraph_shared ALIAS handlegraph_shared) -add_library(libhandlegraph::handlegraph_static ALIAS handlegraph_static) - if (CMAKE_MAJOR_VERSION EQUAL "3" AND (CMAKE_MINOR_VERSION EQUAL "10" OR CMAKE_MINOR_VERSION EQUAL "11")) # Set link directories. We can't yet use target_link_directories to keep # these straight between static and dynamic libraries since it's not @@ -146,7 +143,8 @@ add_dependencies(vgio link_target) add_dependencies(vgio_static link_target) # Add an alias so that library can be used inside the build tree, e.g. when testing -add_library(VGio::vgio ALIAS vgio) +add_library(VGio::VGio ALIAS vgio) +add_library(VGio::VGio_static ALIAS vgio_static) # Set target properties target_include_directories(vgio diff --git a/deps/libhandlegraph b/deps/libhandlegraph index 8bb58a3..f286ef0 160000 --- a/deps/libhandlegraph +++ b/deps/libhandlegraph @@ -1 +1 @@ -Subproject commit 8bb58a3501424ca2876287e383cd650a98608c41 +Subproject commit f286ef0eced719d81b9a8d13080a2f495d34d5ff